-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
49 lines (45 loc) · 1.43 KB
/
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
44
45
46
47
48
49
version: '3'
services:
nginx:
build: .
container_name: nginx
restart: "always"
privileged: true
links:
- "webapp1:verify-app1"
- "webapp2:verify-app2"
ports:
- "8080:80"
jhd-bot:
build: JHDBot/.
container_name: jhd-bot
restart: "always"
volumes:
- ./JHDBot/gifs:/usr/src/app/gifs:rw
environment:
- DISCORD_API_TOKEN=${DISCORD_API_TOKEN}
- BOT_PREFIX_CHARACTER=${BOT_PREFIX_CHARACTER}
- LOGGING_WEBHOOK_CHANNEL=${LOGGING_WEBHOOK_CHANNEL}
- LOGGING_WEBHOOK_TOKEN=${LOGGING_WEBHOOK_TOKEN}
webapp1:
build: verify-web/.
container_name: verify-app1
restart: "always"
environment:
- RECAPTCHA_PUBLIC_KEY=${RECAPTCHA_PUBLIC_KEY}
- RECAPTCHA_PRIVATE_KEY=${RECAPTCHA_PRIVATE_KEY}
- DISCORD_API_TOKEN=${DISCORD_API_TOKEN}
- DISCORD_SERVER_CHANNEL_ID=${DISCORD_SERVER_CHANNEL_ID}
- LOGGING_WEBHOOK_CHANNEL=${LOGGING_WEBHOOK_CHANNEL}
- LOGGING_WEBHOOK_TOKEN=${LOGGING_WEBHOOK_TOKEN}
webapp2:
build: verify-web/.
container_name: verify-app2
restart: "always"
environment:
- RECAPTCHA_PUBLIC_KEY=${RECAPTCHA_PUBLIC_KEY}
- RECAPTCHA_PRIVATE_KEY=${RECAPTCHA_PRIVATE_KEY}
- DISCORD_API_TOKEN=${DISCORD_API_TOKEN}
- DISCORD_SERVER_CHANNEL_ID=${DISCORD_SERVER_CHANNEL_ID}
- LOGGING_WEBHOOK_CHANNEL=${LOGGING_WEBHOOK_CHANNEL}
- LOGGING_WEBHOOK_TOKEN=${LOGGING_WEBHOOK_TOKEN}