-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.debug.yml
More file actions
36 lines (32 loc) · 946 Bytes
/
docker-compose.debug.yml
File metadata and controls
36 lines (32 loc) · 946 Bytes
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
services:
thatkitebot:
build:
context: .
dockerfile: ./Dockerfile.debug
links:
- "redis:thatkitebot_redis"
- "redis_cache:thatkitebot_redis_cache"
ports:
- 5678:5678
volumes:
- ./thatkitebot/:/app/thatkitebot
- ./data/:/app/data/
- ./trains/:/app/data/trains/
- ./.git/:/app/.git
- ./logs/:/var/log/thatkitebot/
restart: "no"
environment:
- PYTHONUNBUFFERED=1
- KITEBOT_DEBUG=1
- DISCORD_DEBUG=0
command: ["bash", "-c", "cd /app/ && thatkitebot-venv/bin/python3 -m debugpy --listen 0.0.0.0:5678 --wait-for-client -m thatkitebot"]
redis:
container_name: thatkitebot_redis
volumes:
- ./data/redis:/data
image: "redis:alpine"
entrypoint: redis-server --appendonly yes
redis_cache:
container_name: thatkitebot_redis_cache
image: "redis:alpine"
entrypoint: redis-server --save "" --appendonly no