services:
  transmission:
    image: lscr.io/linuxserver/transmission:latest
    container_name: transmission
    environment:
      - PUID=1010
      - PGID=1010
      - TZ=Etc/UTC
      - TRANSMISSION_WEB_HOME= #optional
      - USER= #optional
      - PASS= #optional
      - WHITELIST= #optional
      - PEERPORT= #optional
      - HOST_WHITELIST= #optional
    volumes:
      - ./config:/config
      - ./downloads:/downloads
      - ./watch:/watch
    ports:
      - 10.0.0.1:9091:9091
      - 10.0.0.1:51413:51413
      - 10.0.0.1:51413:51413/udp
    restart: unless-stopped
    networks:
      - docker-network

networks:
  docker-network:
    external: true
