Compare commits

..

2 commits

Author SHA1 Message Date
Alexey Skobkin 436bb456d4 Merge pull request 'tor-obfs4-bridge. Stopping using named volume for data.' (#58) from feature_obfs_no_volume into master
Reviewed-on: #58
2022-08-01 03:19:06 +03:00
Alexey Skobkin 9d940767a3
tor-obfs4-bridge. Stopping using named volume for data.
All checks were successful
continuous-integration/drone/pr Build is passing
2022-08-01 03:10:21 +03:00
3 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,5 @@
DATA_PATH=./data
# Set required variables
OR_PORT=443
PT_PORT=444

2
tor-obfs4-bridge/data/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/*
!/.gitignore

View file

@ -19,12 +19,8 @@ services:
- NICKNAME=${NICKNAME:-DockerObfs4Bridge}
env_file: .env
volumes:
- data:/var/lib/tor
- "${DATA_PATH:-./data}:/var/lib/tor"
ports:
- ${OR_PORT}:${OR_PORT}
- ${PT_PORT}:${PT_PORT}
- "${OR_PORT}:${OR_PORT}/tcp"
- "${PT_PORT}:${PT_PORT}/tcp"
restart: unless-stopped
volumes:
data:
name: tor-obfs4-bridge-datadir-${OR_PORT}-${PT_PORT}