-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
69 lines (61 loc) · 1.99 KB
/
docker-compose.prod.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: "3.9"
services:
main_bot:
image: ghcr.io/mahryct3/magic-rust-discord-bot:$CI_COMMIT_SHORT_SHA
volumes:
- /opt/magic-rust-discord-bot/.env:/app/.env
environment:
- DISCORD_BOT_TOKEN=${DISCORD_MAIN_BOT_TOKEN}
tty: true
restart: always
command: python -m bot settings users servicing_posts bot_messages news_reposts find_friends
report_bot:
image: ghcr.io/mahryct3/magic-rust-discord-bot:$CI_COMMIT_SHORT_SHA
volumes:
- /opt/magic-rust-discord-bot/.env:/app/.env
environment:
- DISCORD_BOT_TOKEN=${DISCORD_REPORT_BOT_TOKEN}
tty: true
restart: always
command: python -m bot reports tickets unban_tickets
voice_bot:
image: ghcr.io/mahryct3/magic-rust-discord-bot:$CI_COMMIT_SHORT_SHA
volumes:
- /opt/magic-rust-discord-bot/.env:/app/.env
environment:
- DISCORD_BOT_TOKEN=${DISCORD_VOICE_BOT_TOKEN}
tty: true
restart: always
command: python -m bot voice_channels
monitoring_bot:
image: ghcr.io/mahryct3/magic-rust-discord-bot:$CI_COMMIT_SHORT_SHA
volumes:
- /opt/magic-rust-discord-bot/.env:/app/.env
environment:
- DISCORD_BOT_TOKEN=${DISCORD_MONITORING_BOT_TOKEN}
tty: true
restart: always
command: python -m bot info_provider server_status banner_updater
auto_moderation_bot:
image: ghcr.io/mahryct3/magic-rust-discord-bot:$CI_COMMIT_SHORT_SHA
volumes:
- /opt/magic-rust-discord-bot/.env:/app/.env
environment:
- DISCORD_BOT_TOKEN=${DISCORD_AUTO_MODERATION_BOT_TOKEN}
tty: true
restart: always
command: python -m bot auto_moderation
image-generator:
image: ghcr.io/mahryct3/magic-rust-discord-bot:$CI_COMMIT_SHORT_SHA-image-generator
volumes:
- /opt/magic-rust-discord-bot/.env:/app/.env
build:
dockerfile: ./image_generator/Dockerfile
tty: true
restart: always
command: python -m image_generator
redis:
image: redis:7.2-alpine
restart: always
volumes:
- ./storage/redis:/data