saveinmed/docker-compose.yml
caio-machado-dev bf85072bff chore: remove legacy services and restructure monorepo
- remove backend-old (Medusa), saveinmed-frontend (Next.js/Appwrite) and marketplace dirs
- split Go usecases by domain and move notifications/payments to infrastructure
- reorganize frontend pages into auth, dashboard and marketplace modules
- add Makefile, docker-compose.yml and architecture docs
2026-02-25 16:51:34 -03:00

24 lines
570 B
YAML

version: "3.9"
services:
db:
image: postgres:16-alpine
container_name: saveinmed-db
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: "123"
POSTGRES_DB: saveinmed
ports:
# Porta 55432 no host → 5432 no container (alinhado com backend/.env)
- "55432:5432"
volumes:
- saveinmed_pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d saveinmed"]
interval: 5s
timeout: 5s
retries: 10
volumes:
saveinmed_pgdata: