tor-obfs4-bridge. Stopping using named volume for data.
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
6c2ed96956
commit
9d940767a3
|
@ -1,3 +1,5 @@
|
||||||
|
DATA_PATH=./data
|
||||||
|
|
||||||
# Set required variables
|
# Set required variables
|
||||||
OR_PORT=443
|
OR_PORT=443
|
||||||
PT_PORT=444
|
PT_PORT=444
|
||||||
|
|
2
tor-obfs4-bridge/data/.gitignore
vendored
Normal file
2
tor-obfs4-bridge/data/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
/*
|
||||||
|
!/.gitignore
|
|
@ -19,12 +19,8 @@ services:
|
||||||
- NICKNAME=${NICKNAME:-DockerObfs4Bridge}
|
- NICKNAME=${NICKNAME:-DockerObfs4Bridge}
|
||||||
env_file: .env
|
env_file: .env
|
||||||
volumes:
|
volumes:
|
||||||
- data:/var/lib/tor
|
- "${DATA_PATH:-./data}:/var/lib/tor"
|
||||||
ports:
|
ports:
|
||||||
- ${OR_PORT}:${OR_PORT}
|
- "${OR_PORT}:${OR_PORT}/tcp"
|
||||||
- ${PT_PORT}:${PT_PORT}
|
- "${PT_PORT}:${PT_PORT}/tcp"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
|
||||||
data:
|
|
||||||
name: tor-obfs4-bridge-datadir-${OR_PORT}-${PT_PORT}
|
|
Loading…
Reference in a new issue