From 4757be401e258f5058e68687ade2929699a2e893 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Thu, 19 Aug 2021 17:21:18 +0100 Subject: [PATCH] Mount torrc as dir --- docker-compose.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d26bb54..d3aa40f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,8 +6,9 @@ services: image: lncm/tor:0.4.5.7@sha256:a83e0d9fd1a35adf025f2f34237ec1810e2a59765988dce1dfb222ca8ef6583c user: toruser restart: on-failure + command: -f /data/torrc-umbrel volumes: - - ${PWD}/tor/torrc-umbrel:/etc/tor/torrc + - ${PWD}/tor/:/data - ${PWD}/tor/data:/var/lib/tor/ ports: - "127.0.0.1:$TOR_PROXY_PORT:$TOR_PROXY_PORT" @@ -18,8 +19,9 @@ services: image: lncm/tor:0.4.5.7@sha256:a83e0d9fd1a35adf025f2f34237ec1810e2a59765988dce1dfb222ca8ef6583c user: toruser restart: on-failure + command: -f /data/torrc-apps volumes: - - ${PWD}/tor/torrc-apps:/etc/tor/torrc + - ${PWD}/tor/:/data - ${PWD}/tor/data:/var/lib/tor/ networks: default: @@ -28,8 +30,9 @@ services: image: lncm/tor:0.4.5.7@sha256:a83e0d9fd1a35adf025f2f34237ec1810e2a59765988dce1dfb222ca8ef6583c user: toruser restart: on-failure + command: -f /data/torrc-apps-2 volumes: - - ${PWD}/tor/torrc-apps-2:/etc/tor/torrc + - ${PWD}/tor/:/data - ${PWD}/tor/data:/var/lib/tor/ networks: default: