-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (58 loc) · 1.33 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
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3.7'
services:
db:
image: mysql:8
container_name: bequant-db
environment:
MYSQL_DATABASE: ${DB_NAME}
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
MYSQL_USER: ${DB_USER}
MYSQL_PASSWORD: ${DB_USER_PASSWORD}
# ports:
# - "6033:3306"
volumes:
- ./db/data:/var/lib/mysql
# restart: unless-stopped
# used to debug SQL(x)
# phpmyadmin:
# image: phpmyadmin/phpmyadmin
# container_name: pma
# links:
# - db
# environment:
# PMA_HOST: db
# PMA_PORT: 3306
# PMA_ARBITRARY: 1
# # restart: unless-stopped
# ports:
# - 8081:80
distributor:
container_name: bequant-distributor
build:
context: .
dockerfile: ./distributor/Dockerfile
environment:
DB_NAME: ${DB_NAME}
DB_USER: ${DB_USER}
DB_USER_PASSWORD: ${DB_USER_PASSWORD}
ports:
- 8080:8080
# restart: unless-stopped
depends_on:
- db
warden:
container_name: bequant-warden
build:
context: .
dockerfile: ./warden/Dockerfile
environment:
DB_NAME: ${DB_NAME}
DB_USER: ${DB_USER}
DB_USER_PASSWORD: ${DB_USER_PASSWORD}
API_URL: ${API_URL}
UPDATE_INTERVAL: ${UPDATE_INTERVAL}
FSYMS: ${FSYMS}
TSYMS: ${TSYMS}
# restart: unless-stopped
depends_on:
- db