services: torrserver: image: ghcr.io/yourok/torrserver:latest container_name: torrserver network_mode: host environment: - TS_PORT={{ torrserver_port }} - TS_DONTKILL=1 - TS_HTTPAUTH=0 - TS_CONF_PATH=/opt/ts/config - TS_TORR_DIR=/opt/ts/torrents volumes: - {{ torrserver_torrents_dir }}:/opt/ts/torrents - {{ torrserver_config_dir }}:/opt/ts/config restart: unless-stopped