From e9daaa2eb8df84bb1ef670b61388f555de71e9de Mon Sep 17 00:00:00 2001 From: Leon Date: Tue, 4 Apr 2023 14:55:58 +0200 Subject: [PATCH] :bug: Fix default port for penpot-exporter on nginx entrypoint By default, penpot-frontend will try to reach penpot-export on port 80, this is wrong, the exporter listens by default to port 6061. --- docker/images/files/nginx-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/images/files/nginx-entrypoint.sh b/docker/images/files/nginx-entrypoint.sh index d8fc93567..00d8fddc9 100644 --- a/docker/images/files/nginx-entrypoint.sh +++ b/docker/images/files/nginx-entrypoint.sh @@ -20,7 +20,7 @@ update_flags /var/www/app/js/config.js ######################################### export PENPOT_BACKEND_URI=${PENPOT_BACKEND_URI:-http://penpot-backend:6060}; -export PENPOT_EXPORTER_URI=${PENPOT_EXPORTER_URI:-http://penpot-exporter}; +export PENPOT_EXPORTER_URI=${PENPOT_EXPORTER_URI:-http://penpot-exporter:6061}; envsubst "\$PENPOT_BACKEND_URI,\$PENPOT_EXPORTER_URI" < /etc/nginx/nginx.conf.template > /etc/nginx/nginx.conf