This commit is contained in:
2026-08-22 19:36:03 +02:00
parent 4e3c5b641e
commit ed33fbb230
3 changed files with 14 additions and 8 deletions
+6
View File
@@ -1,6 +1,7 @@
services:
postgres:
image: postgres:16-alpine
container_name: sndit-postgres
restart: unless-stopped
environment:
POSTGRES_DB: surprise
@@ -19,6 +20,7 @@ services:
minio:
image: minio/minio:latest
container_name: sndit-minio
restart: unless-stopped
command: server /data --console-address ":9001"
environment:
@@ -38,6 +40,7 @@ services:
api:
build: ./backend
container_name: sndit-api
restart: unless-stopped
ports:
- "${PORT:-8080}:8080"
@@ -62,6 +65,7 @@ services:
migrate:
build: ./backend
container_name: sndit-migrate
command: ["migrate", "-dir", "/migrations"]
environment:
DB_DRIVER: postgres
@@ -74,6 +78,7 @@ services:
seed:
build: ./backend
container_name: sndit-seed
command: ["seed"]
environment:
DB_DRIVER: postgres
@@ -87,6 +92,7 @@ services:
context: ./frontend
args:
VITE_API_BASE_URL: ""
container_name: sndit-frontend
restart: unless-stopped
ports:
- "${FRONTEND_PORT:-8081}:80"