-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (45 loc) · 978 Bytes
/
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
version: "3"
services:
api:
build: 42API/
image: 42api
restart: always
environment:
- UID=${APPUID}
- SECRET=${SECRET}
- PORT=${API_PORT:-3003}
volumes:
- segbotApiData:/api/data
segbot:
build: discord/
image: segbot
restart: always
links:
- api
ports:
- ${SEGBOT_PORT:-8008}:${SEGBOT_PORT:-8008}
environment:
- APPUID=${APPUID}
- BOT_TOKEN=${BOT_TOKEN}
- BOT_DEV_CHANNEL=${BOT_DEV_CHANNEL}
- SEGBOT_PORT=${SEGBOT_PORT:-8008}
- API_PORT=${API_PORT}
- APP_HOST=${APP_HOST}
- API_HOST=api
volumes:
- segbotData:/segbot/data
checker:
build: APICheck/
image: checker
restart: always
links:
- api
- segbot
environment:
- SEGBOT_URL=http://segbot:${SEGBOT_PORT:-8008}
- UID=${APPUID}
- SECRET=${SECRET}
- USER_API_URL=http://api:${API_PORT}
volumes:
segbotData: {}
segbotApiData: {}