52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
container_name: schuettgo-postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_DB: schuettgo
|
|
POSTGRES_USER: schuettgo
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD:-SchuettGo2026!SecureDB}
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
ports:
|
|
- "127.0.0.1:5433:5432"
|
|
networks:
|
|
- schuettgo-network
|
|
|
|
backend:
|
|
build: ../schuettgo-backend
|
|
container_name: schuettgo-backend
|
|
restart: always
|
|
environment:
|
|
DATABASE_URL: postgres://schuettgo:${DB_PASSWORD:-SchuettGo2026!SecureDB}@postgres:5432/schuettgo
|
|
JWT_SECRET: ${JWT_SECRET:-schuettgo-jwt-secret-2026-change-me}
|
|
PORT: 8000
|
|
ports:
|
|
- "127.0.0.1:8003:8000"
|
|
depends_on:
|
|
- postgres
|
|
networks:
|
|
- schuettgo-network
|
|
|
|
frontend:
|
|
build:
|
|
context: ../schuettgo-frontend
|
|
args:
|
|
VITE_API_URL: https://api.schuettgo.kronos-soulution.de
|
|
container_name: schuettgo-frontend
|
|
restart: always
|
|
ports:
|
|
- "127.0.0.1:3005:80"
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- schuettgo-network
|
|
|
|
networks:
|
|
schuettgo-network:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
postgres_data:
|