forked from wtfloris/hestia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (41 loc) · 1000 Bytes
/
docker-compose.yml
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
45
networks:
hestia-network:
name: hestia-network
volumes:
hestia-database-volume:
name: hestia-database-volume
services:
hestia-bot:
container_name: hestia-bot
healthcheck:
test: cat /proc/1/cmdline || exit 1
start_period: 5s
image: wtfloris/hestia-bot:latest
networks:
- hestia-network
restart: unless-stopped
volumes:
- /root/hestia/data:/data
working_dir: /hestia
hestia-scraper:
container_name: hestia-scraper
healthcheck:
test: pgrep cron || exit 1
start_period: 5s
image: wtfloris/hestia-scraper:latest
networks:
- hestia-network
restart: unless-stopped
volumes:
- /root/hestia/data:/data
working_dir: /scraper
hestia-database:
container_name: hestia-database
image: postgres:latest
networks:
- hestia-network
ports:
- "127.0.0.1:5432:5432"
restart: unless-stopped
volumes:
- hestia-database-volume:/var/lib/postgresql/data