forked from alfio-event/alf.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.15 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
45
46
47
services:
db:
image: postgres:10
env_file:
- .env
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}" ]
interval: 10s
retries: 5
start_period: 30s
timeout: 10s
ports:
- target: 5432
published: 5432
protocol: tcp
mode: host
volumes:
- /home/domfitty/alfio/postgres-data:/var/lib/postgresql/data
networks:
- alfio_default
alfio:
image: alfio/alf.io
env_file:
- .env
depends_on:
db:
condition: service_healthy
ports:
- "7080:8080"
networks:
- alfio_default
cloudflared:
image: wisdomsky/cloudflared-web:latest
restart: unless-stopped
ports:
- "14333:14333"
volumes:
- /home/domfitty/cloudflared_root:/root/.cloudflared
- /home/domfitty/cloudflared_config:/config
networks:
- alfio_default
networks:
alfio_default:
external: false