-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
38 lines (37 loc) · 990 Bytes
/
docker-compose.yaml
File metadata and controls
38 lines (37 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
services:
db:
image: postgres:17-alpine
restart: unless-stopped
volumes:
- db-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: zane
ports:
- "5435:5432"
drizzle-gateway:
image: ghcr.io/drizzle-team/gateway:latest
ports:
- "4985:4983"
depends_on:
- db
environment:
- STORE_PATH=/app
- DATABASE_URL=postgresql://postgres:password@db:5432/zane
volumes:
- drizzle-gateway-data:/app
mailhog:
image: mailhog/mailhog:latest
restart: unless-stopped
ports:
- "1025:1025" # SMTP server
- "8025:8025" # Web UI
environment:
MH_STORAGE: maildir # switch from in-memory to maildir on disk :contentReference[oaicite:0]{index=0}
MH_MAILDIR_PATH: /mailhog/data # where on the container to store the maildir
volumes:
- ./mailhog_data:/mailhog/data
volumes:
db-data:
drizzle-gateway-data: