docker-compose.yml 835 B

12345678910111213141516171819202122232425262728293031323334
  1. version: "2"
  2. services:
  3. transmission:
  4. image: linuxserver/transmission
  5. container_name: transmission-gm
  6. environment:
  7. # PUID and PGID should be set to the same numbers assigned
  8. # to the user id on the host running this docker
  9. # to find out the id, issue the command
  10. # id <laxaurus> for example
  11. # find what the host user id and group id
  12. - PUID=1000
  13. - PGID=1000
  14. - TZ=Europe/London
  15. - TRANSMISSION_WEB_HOME=/kettu/ #optional
  16. volumes:
  17. - ./config:/config
  18. # - ./downloads:/downloads
  19. # - ./watch:/watch
  20. - ${DATA_VOLUME_ROOT}/downloads:/downloads
  21. - ${DATA_VOLUME_ROOT}/watch:/watch
  22. ports:
  23. - 9084:9091
  24. - 50324:51413
  25. - 50324:51413/udp
  26. # restart: unless-stopped
  27. # restart: always
  28. restart: "no"
  29. networks:
  30. - webnet
  31. networks:
  32. webnet: