-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcompose.yaml
35 lines (30 loc) · 906 Bytes
/
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
services:
EuroPythonBot:
image: europythonbot
build: .
volumes:
- type: bind
source: /etc/EuroPython/discord/.secrets
target: /home/bot/.secrets
read_only: true
- type: bind
source: /etc/EuroPython/livestreams/livestreams.toml
target: /home/bot/livestreams.toml
read_only: true
- type: bind
source: /home/bot/registered_log.txt
target: /home/bot/registered_log.txt
read_only: false
- type: bind
source: /home/bot/schedule.json
target: /home/bot/schedule.json
read_only: false
- type: bind
source: /home/bot/pretix_cache.json
target: /home/bot/pretix_cache.json
read_only: false
# read all container only logs with
# journalctl -u docker IMAGE_NAME=europythonbot -f
logging:
driver: journald
restart: unless-stopped