1
0
Fork 0

rtorrent: set more env, externalize to env file

This commit is contained in:
Lukáš Kucharczyk 2022-08-29 12:59:33 +02:00
parent 7f5d1ccc72
commit 4689d495e4
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

3
rtorrent.env Normal file
View File

@ -0,0 +1,3 @@
VPN_ENABLED=no
WEBUI_USER=lukas
WEBUI_PASS=kralovna

View File

@ -3,12 +3,15 @@ services:
rtorrent: rtorrent:
image: binhex/arch-rtorrentvpn image: binhex/arch-rtorrentvpn
container_name: rtorrent container_name: rtorrent
environment:
- VPN_ENABLED=no
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/rtorrent/config:/config" - "${DOCKER_STORAGE_PATH}/rtorrent/config:/config"
- ${STORAGE_PATH}/seed:/data - ${STORAGE_PATH}/seed:/data
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
environment:
- PUID=${PUID}
- PGID=${PGID}
env_file:
- rtorrent.env
ports: ports:
- "9080:9080" - "9080:9080"
- "9443:9443" - "9443:9443"