- 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
24 lines
570 B
YAML
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:
|