forked from Opensource-IIITH/Discord-CAS
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 847 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 847 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
version: '3.8'
networks:
portal_network:
ipam:
config:
- subnet: 172.20.0.0/24
services:
bot:
build:
context: ./bot
dockerfile: Dockerfile
networks:
portal_network:
# this IP must be private and NOT EXPOSED via any proxy to the
# public
ipv4_address: ${BOT_PRIVATE_IP}
env_file:
- ./.env
volumes:
- ./server_config.ini:/app/server_config.ini
tty: true
portal:
build:
context: ./portal
dockerfile: Dockerfile
networks:
portal_network:
ipv4_address: ${PORTAL_PRIVATE_IP}
env_file:
- ./.env
volumes:
- ./server_config.ini:/app/server_config.ini
tty: true