-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.yaml
More file actions
34 lines (32 loc) · 790 Bytes
/
compose.yaml
File metadata and controls
34 lines (32 loc) · 790 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
networks:
postgres:
external: false
volumes:
postgres-data:
driver: local
services:
db:
image: postgres:alpine
restart: unless-stopped
environment:
POSTGRES_USER: waitingway
POSTGRES_PASSWORD: waitingway_passwd
POSTGRES_DB: waitingway
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- postgres
waitingway:
image: ghcr.io/workingrobot/waitingway-web:latest
restart: unless-stopped
volumes:
- ./docker-config.yml:/app/config.yml:ro
healthcheck:
test: ['CMD-SHELL', 'wget -q --spider --proxy=off 127.0.0.1:3000/api/v1 || exit 1']
networks:
- postgres
depends_on:
- db
# Ideally, you would put this behind a reverse proxy, like nginx
ports:
- 3000:3000