-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 942 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 942 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
39
40
services:
sova:
build: .
container_name: parley-chat-sova
restart: "unless-stopped"
volumes:
- ./config.toml:/app/config.toml
- ./data:/app/data
- ../Mura:/Mura
environment:
- PYTHONUNBUFFERED=1
networks:
- parley-chat-network
expose:
- "42835"
healthcheck: # The health check URL must contain the URI Path if set in config.toml
test: ["CMD", "curl", "-f", "http://localhost:42835/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
nginx:
image: nginx:alpine
container_name: parley-chat-nginx
restart: "unless-stopped"
ports:
- "${PORT:-42835}:42835"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./certs:/etc/nginx/certs:ro
depends_on:
sova:
condition: service_healthy
networks:
- parley-chat-network
networks:
parley-chat-network:
driver: bridge