chanage outterport for spa to 80, rename services

This commit is contained in:
2025-05-25 16:33:28 +03:00
parent e81cd6a358
commit 49cef31e2e
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -18,4 +18,4 @@ GOOSE_MIGRATION_DIR=migrations
# FRONTEND SPA
INNERPORT=80
OUTERPORT=8088
OUTERPORT=80
+1 -1
View File
@@ -2,7 +2,7 @@ build:
@docker compose build
run:
@docker compose up
@docker compose up -d --remove-orphans
clean:
@docker builder prune
+4
View File
@@ -2,6 +2,7 @@ services:
db:
image: postgres:16
container_name: db
env_file:
- .env
ports:
@@ -14,6 +15,7 @@ services:
- POSTGRES_DB=${PGDATABASE}
api:
container_name: api
build:
context: ./api
dockerfile: Dockerfile
@@ -28,6 +30,7 @@ services:
command: ./bin/api
migrator:
container_name: migrator
build:
context: ./migrator
dockerfile: Dockerfile
@@ -41,6 +44,7 @@ services:
command: goose up
spa:
container_name: spa
build:
context: ./spa
dockerfile: Dockerfile