diff --git a/deploy/selfhost/docker-compose.yml b/deploy/selfhost/docker-compose.yml index 03e136ba1..8ac4a7277 100644 --- a/deploy/selfhost/docker-compose.yml +++ b/deploy/selfhost/docker-compose.yml @@ -2,7 +2,8 @@ version: "3.8" x-app-env : &app-env environment: - - NGINX_PORT=${NGINX_PORT:-84} + - NGINX_PORT=${NGINX_PORT:-80} + - WEB_URL=${WEB_URL:-http://localhost} - DEBUG=${DEBUG:-0} - DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE:-plane.settings.selfhosted} - NEXT_PUBLIC_ENABLE_OAUTH=${NEXT_PUBLIC_ENABLE_OAUTH:-0} diff --git a/deploy/selfhost/variables.env b/deploy/selfhost/variables.env index 7581dfdc1..b2547cbbe 100644 --- a/deploy/selfhost/variables.env +++ b/deploy/selfhost/variables.env @@ -5,6 +5,7 @@ SPACE_REPLICAS=1 API_REPLICAS=1 NGINX_PORT=80 +WEB_URL=http://localhost DEBUG=0 DJANGO_SETTINGS_MODULE=plane.settings.selfhosted NEXT_PUBLIC_ENABLE_OAUTH=0