update entry point
This commit is contained in:
parent
430ce43470
commit
5b3a6b284a
|
@ -8,7 +8,7 @@ services:
|
||||||
- 40000:40000
|
- 40000:40000
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- LICENSE=
|
- LICENSE=you-own-key
|
||||||
logging:
|
logging:
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
|
|
|
@ -8,7 +8,7 @@ done
|
||||||
warp-cli --accept-tos set-mode proxy
|
warp-cli --accept-tos set-mode proxy
|
||||||
warp-cli --accept-tos set-proxy-port 40001
|
warp-cli --accept-tos set-proxy-port 40001
|
||||||
|
|
||||||
if [ "$LICENSE" == "" ]; then
|
if [ "$LICENSE" != "" ]; then
|
||||||
warp-cli --accept-tos set-license $LICENSE
|
warp-cli --accept-tos set-license $LICENSE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue