make configs reads from env file
This commit is contained in:
1 parent
bbee9243e8
commit
122143529e
3 files changed
+4
-2
No files matched your search
@@ -0,0 +1,2 @@
|
|||||||
|
KEY=123456
|
||||||
|
SERVER=www.yourserver.com
|
||||||
@@ -6,4 +6,4 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 1080:1080
|
- 1080:1080
|
||||||
command: "./pingtunnel -type client -l 0.0.0.0:1080 -s www.yourserver.com -sock5 1 -key 123456"
|
command: "./pingtunnel -type client -l 0.0.0.0:1080 -s ${SERVER} -sock5 1 -key ${KEY}"
|
||||||
@@ -5,4 +5,4 @@ services:
|
|||||||
image: esrrhs/pingtunnel:latest
|
image: esrrhs/pingtunnel:latest
|
||||||
restart: always
|
restart: always
|
||||||
network_mode: host
|
network_mode: host
|
||||||
command: "./pingtunnel -type server -key 123456"
|
command: "./pingtunnel -type server -key ${KEY}"
|
||||||
Reference in new issue
Block a user