From 5b3a6b284a07636e547700f314290274e87bd1d6 Mon Sep 17 00:00:00 2001 From: Seiry Yu <4397354+seiry@users.noreply.github.com> Date: Thu, 27 Apr 2023 19:28:11 +0800 Subject: [PATCH] update entry point --- docker-compose.yml | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f429eaf..a4ee36d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: - 40000:40000 restart: unless-stopped environment: - - LICENSE= + - LICENSE=you-own-key logging: driver: json-file options: diff --git a/entrypoint.sh b/entrypoint.sh index 435583c..24243f3 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,7 +8,7 @@ done warp-cli --accept-tos set-mode proxy warp-cli --accept-tos set-proxy-port 40001 -if [ "$LICENSE" == "" ]; then +if [ "$LICENSE" != "" ]; then warp-cli --accept-tos set-license $LICENSE fi