34 lines
748 B
YAML
34 lines
748 B
YAML
name: dwellops-platform
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:17-alpine
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: dwellops
|
|
POSTGRES_PASSWORD: dwellops
|
|
POSTGRES_DB: dwellops_dev
|
|
ports:
|
|
- '5432:5432'
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U dwellops']
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
# Local email testing — UI at http://localhost:8025
|
|
mailpit:
|
|
image: axllent/mailpit:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- '1025:1025' # SMTP
|
|
- '8025:8025' # Web UI
|
|
environment:
|
|
MP_SMTP_AUTH_ACCEPT_ANY: '1'
|
|
MP_SMTP_AUTH_ALLOW_INSECURE: '1'
|
|
|
|
volumes:
|
|
postgres_data:
|