From 4689d495e4c42060405af7674b3ca38717ef0aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Mon, 29 Aug 2022 12:59:33 +0200 Subject: [PATCH] rtorrent: set more env, externalize to env file --- rtorrent.env | 3 +++ rtorrent.yml | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 rtorrent.env diff --git a/rtorrent.env b/rtorrent.env new file mode 100644 index 0000000..cf777cc --- /dev/null +++ b/rtorrent.env @@ -0,0 +1,3 @@ +VPN_ENABLED=no +WEBUI_USER=lukas +WEBUI_PASS=kralovna diff --git a/rtorrent.yml b/rtorrent.yml index dc9eafb..ddbb35e 100644 --- a/rtorrent.yml +++ b/rtorrent.yml @@ -3,12 +3,15 @@ services: rtorrent: image: binhex/arch-rtorrentvpn container_name: rtorrent - environment: - - VPN_ENABLED=no volumes: - "${DOCKER_STORAGE_PATH}/rtorrent/config:/config" - ${STORAGE_PATH}/seed:/data - /etc/localtime:/etc/localtime:ro + environment: + - PUID=${PUID} + - PGID=${PGID} + env_file: + - rtorrent.env ports: - "9080:9080" - "9443:9443"