- /group_vars/all.yml - /roles/torrserver/tasks/main.yml - /roles/torrserver/templates/docker-compose.yml.j2
15 lines
454 B
Django/Jinja
15 lines
454 B
Django/Jinja
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 |