-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.production.yml
35 lines (31 loc) · 1.07 KB
/
docker-compose.production.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
services:
bot:
build:
target: production
context: .
dockerfile: ./Dockerfile
restart: always
env_file: ".env.production"
image: ghcr.io/viet-aus-it/discord-bot:production
container_name: discord_bot_prod
db-migrate:
image: ghcr.io/viet-aus-it/prisma-migrate-service
volumes:
- ./prisma:/src/prisma
env_file: ".env.production"
container_name: discord_bot_db_migrate_prod
broadcast-reminder:
image: ghcr.io/viet-aus-it/discord-bot:production
container_name: reminder_broadcaster_prod
env_file: ".env.production"
command: ["--enable-source-maps", "build/server/broadcast-reminder.js"]
autobump:
image: ghcr.io/viet-aus-it/discord-bot:production
container_name: autobump_prod
env_file: ".env.production"
command: ["--enable-source-maps", "build/server/autobump.js"]
cleanup-referrals:
image: ghcr.io/viet-aus-it/discord-bot:production
container_name: cleanup_referrals_prod
env_file: ".env.production"
command: ["--enable-source-maps", "build/server/cleanup-expired-referrals.js"]