-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 924 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 924 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
services:
postgres:
image: postgres:16-alpine
container_name: app-atlas-db
restart: unless-stopped
environment:
POSTGRES_USER: atlas
POSTGRES_PASSWORD: atlas_dev_password
POSTGRES_DB: app_atlas
ports:
- '5432:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
- ./atlas-server/prisma/init.sql:/docker-entrypoint-initdb.d/init.sql:ro
healthcheck:
test: [ 'CMD-SHELL', 'pg_isready -U atlas -d app_atlas' ]
interval: 10s
timeout: 5s
retries: 5
# Mailpit - local SMTP server for email testing
# Web UI: http://localhost:8025
# SMTP: localhost:1025
mailpit:
image: axllent/mailpit
container_name: app-atlas-mailpit
restart: unless-stopped
ports:
- "8025:8025" # Web UI
- "1025:1025" # SMTP
environment:
MP_MAX_MESSAGES: 5000
volumes:
postgres_data: