-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
51 lines (51 loc) · 1.17 KB
/
compose.yaml
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
48
49
50
51
services:
caddy:
image: caddy:2.8
user: "444:444"
restart: always
ports:
- "80:80"
- "443:443"
- "443:443/udp"
cap_add:
- NET_ADMIN
environment:
- TZ=America/Sao_Paulo
volumes:
- ./Caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- ./Caddy/config:/config
- ./Caddy/data:/data
- ./public:/public:ro
- ./logs:/logs
carddealer:
build:
context: ./CardDealer
args:
- UNPRIV_UID_GID=444
restart: always
env_file: credentials
depends_on:
caddy:
condition: service_started
environment:
- PYTHONUNBUFFERED=1 # flush logs immediately
- TZ=America/Sao_Paulo # log dates in my timezone
volumes:
- ./entered_channels.txt:/app/entered_channels.txt
- ./public/cards/:/var/www/html/cards/
- ./logs:/app/logs
watchdog:
build:
context: ./Watchdog
args:
- UNPRIV_UID_GID=444
restart: always
env_file: credentials
depends_on:
carddealer:
condition: service_started
environment:
- PYTHONUNBUFFERED=1
- TZ=America/Sao_Paulo
volumes:
- ./last_heartbeat:/app/last_heartbeat