From 3a1b64d8f8d9a1c7ecbe1d76085b912b3d5e6ed4 Mon Sep 17 00:00:00 2001 From: Manish Gupta <59428681+manishg3@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:38:55 +0530 Subject: [PATCH] Dev/mg selfhosting fix (#2782) * fixes to self hosting * self hosting fixes * removed .temp --------- Co-authored-by: sriram veeraghanta --- deploy/selfhost/docker-compose.yml | 3 ++- deploy/selfhost/variables.env | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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