Files
turbovault-app/docker-compose.yml
2026-03-28 19:24:29 -04:00

33 lines
725 B
YAML

version: '3.8'
services:
postgres:
image: postgres:16-alpine
container_name: turbovault_postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: turbovault_web_development
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
mailpit:
image: axllent/mailpit:latest
container_name: turbovault_mailpit
ports:
- "1025:1025" # SMTP server
- "8025:8025" # Web UI
environment:
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
volumes:
postgres_data: