-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (40 loc) · 920 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
services:
jaeger:
image: jaegertracing/all-in-one:latest
restart: unless-stopped
ports:
- 16686:16686
mariadb:
image: mariadb
restart: unless-stopped
environment:
MARIADB_ROOT_PASSWORD: ${DB_PASS}
MARIADB_DATABASE: markov_bot
volumes:
- ./data/mariadb:/var/lib/mysql:Z
deploy:
resources:
limits:
memory: 500M
ports:
- 3306-3306
adminer:
image: adminer
restart: always
ports:
- 8080:8080
markov_bot:
image: kronicaler/markov_bot
container_name: markov_bot
environment:
- DISCORD_TOKEN
- APPLICATION_ID
- OTLP_ENDPOINT=http://jaeger:4317
- DATABASE_URL=mysql://root:${DB_PASS}@mariadb/markov_bot
- RUST_LOG=error,markov_bot=info
build:
context: ./
dockerfile: dockerfile
restart: unless-stopped
volumes:
- ./data:/app/data:Z