Files
magistr/compose.yaml
Zuev 9f124c52a5
All checks were successful
Build and Push Docker Images / build-and-push-backend (push) Successful in 3m44s
Build and Push Docker Images / build-and-push-frontend (push) Successful in 11s
Build and Push Docker Images / deploy-to-k8s (push) Successful in 1m19s
refactor: Integrate Flyway for database migrations and simplify Docker Compose and tenant configurations.
2026-03-13 04:35:50 +03:00

41 lines
746 B
YAML
Executable File

services:
backend:
container_name: backend
restart: always
build:
context: ./backend
dockerfile: Dockerfile
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
networks:
- proxy
frontend:
container_name: frontend
restart: always
build:
context: ./frontend
dockerfile: Dockerfile
networks:
- proxy
depends_on:
- backend
db:
image: postgres:alpine3.23
container_name: db
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_USER: myuser
POSTGRES_PASSWORD: supersecretpassword
POSTGRES_DB: app_db
networks:
- proxy
networks:
proxy:
external: true