-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
44 lines (42 loc) · 1.16 KB
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
39
40
41
42
43
44
services:
postgres:
image: postgres:16-alpine
container_name: muster-postgres
restart: unless-stopped
environment:
POSTGRES_USER: muster
POSTGRES_PASSWORD: muster
POSTGRES_DB: muster
ports:
- "5434:5432"
volumes:
- muster-pg-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "muster", "-d", "muster"]
interval: 5s
timeout: 3s
retries: 10
muster:
image: ghcr.io/enforcegrid/muster
build: .
container_name: muster-app
restart: unless-stopped
ports:
- "8080:8080"
environment:
DATABASE_URL: postgres://muster:muster@postgres:5432/muster
OPENAI_API_KEY: ${OPENAI_API_KEY}
MUSTER_DOMAIN: ${MUSTER_DOMAIN:-muster.example.com}
MUSTER_APP_NAME: ${MUSTER_APP_NAME:-Muster}
# MUSTER_SMTP_HOST: smtp.example.com
# MUSTER_SMTP_PORT: "587"
# MUSTER_SMTP_USER: you@example.com
# MUSTER_SMTP_PASS: ""
# MUSTER_IMAP_HOST: imap.example.com
# MUSTER_IMAP_USER: replies@example.com
# MUSTER_IMAP_PASS: ""
depends_on:
postgres:
condition: service_healthy
volumes:
muster-pg-data: