Initial commit
This commit is contained in:
33
docker-compose.yml
Normal file
33
docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user