-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
39 lines (39 loc) · 1.16 KB
/
docker-compose.yaml
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
version: "3"
services:
redis:
build:
context: ./redis
dockerfile: Dockerfile
args:
- DBIVTOOL_REDIS_PASSWORD=${DBIVTOOL_REDIS_PASSWORD}
image: diablo_iv_tool_redis
restart: always
expose :
- 6379
bot:
build:
context: ./bot
dockerfile: Dockerfile
image: diablo_iv_tool_bot
restart: always
environment:
- DBIVTOOL_BOT_TOKEN=${DBIVTOOL_BOT_TOKEN}
- DBIVTOOL_DB_DRIVER=${DBIVTOOL_DB_DRIVER}
- DBIVTOOL_DB_DSN=${DBIVTOOL_DB_DSN}
- DBIVTOOL_REDIS_HOST=${DBIVTOOL_REDIS_HOST}
- DBIVTOOL_REDIS_PORT=${DBIVTOOL_REDIS_PORT:-6379}
- DBIVTOOL_REDIS_PASSWORD=${DBIVTOOL_REDIS_PASSWORD}
- DBIVTOOL_REDIS_DB=${DBIVTOOL_REDIS_DB}
volumes:
- ${DBIVTOOL_VOLUME_PATH_HOST}:${DBIVTOOL_VOLUME_PATH_CONTAINER}
fetcher:
build:
context: ./fetcher
dockerfile: Dockerfile
image: diablo_iv_tool_fetcher
restart: always
environment:
- DBIVTOOL_REDIS_HOST=${DBIVTOOL_REDIS_HOST}
- DBIVTOOL_REDIS_PORT=${DBIVTOOL_REDIS_PORT:-6379}
- DBIVTOOL_REDIS_PASSWORD=${DBIVTOOL_REDIS_PASSWORD}
- DBIVTOOL_REDIS_DB=${DBIVTOOL_REDIS_DB}