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 # FRONTEND SPA
INNERPORT=80 INNERPORT=80
OUTERPORT=8088 OUTERPORT=80
+1 -1
View File
@@ -2,7 +2,7 @@ build:
@docker compose build @docker compose build
run: run:
@docker compose up @docker compose up -d --remove-orphans
clean: clean:
@docker builder prune @docker builder prune
+4
View File
@@ -2,6 +2,7 @@ services:
db: db:
image: postgres:16 image: postgres:16
container_name: db
env_file: env_file:
- .env - .env
ports: ports:
@@ -14,6 +15,7 @@ services:
- POSTGRES_DB=${PGDATABASE} - POSTGRES_DB=${PGDATABASE}
api: api:
container_name: api
build: build:
context: ./api context: ./api
dockerfile: Dockerfile dockerfile: Dockerfile
@@ -28,6 +30,7 @@ services:
command: ./bin/api command: ./bin/api
migrator: migrator:
container_name: migrator
build: build:
context: ./migrator context: ./migrator
dockerfile: Dockerfile dockerfile: Dockerfile
@@ -41,6 +44,7 @@ services:
command: goose up command: goose up
spa: spa:
container_name: spa
build: build:
context: ./spa context: ./spa
dockerfile: Dockerfile dockerfile: Dockerfile