add http and https port into spa service

This commit is contained in:
2025-05-26 08:16:56 +03:00
parent 56722431c8
commit 34f445132c
2 changed files with 6 additions and 3 deletions
+4 -2
View File
@@ -17,5 +17,7 @@ GOOSE_DBSTRING='user=postgres dbname=postgres sslmode=disable'
GOOSE_MIGRATION_DIR=migrations GOOSE_MIGRATION_DIR=migrations
# FRONTEND SPA # FRONTEND SPA
INNERPORT=80 HTTP_INNDER_PORT=80
OUTERPORT=80 HTTP_OUTER_PORT=80
HTTPS_INNDER_PORT=443
HTTPS_OUTER_PORT=443
+2 -1
View File
@@ -54,7 +54,8 @@ services:
env_file: env_file:
- .env - .env
ports: ports:
- "${OUTERPORT}:${INNERPORT}" - "${HTTP_OUTER_PORT}:${HTTP_INNER_PORT}"
- "${HTTPS_OUTER_PORT}:${HTTPS_INNER_PORT"
depends_on: depends_on:
- api - api
- db - db