-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
58 lines (56 loc) · 1.68 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
version: "3.7"
services:
application:
build:
context: .
dockerfile: Dockerfile
target: production
environment:
NODE_ENV: production
DATABASE_HOST: database
DATABASE_LOGGING: "${DATABASE_LOGGING}"
KAFKA_BROKER: "${KAFKA_BROKER}"
CONSUME_ECS_MESSAGES: "${CONSUME_ECS_MESSAGES}"
JWT_SECRET: "${JWT_SECRET}"
JWT_EXPIRATION: "${JWT_EXPIRATION}"
JWT_ISSUER: "${JWT_ISSUER}"
JWT_MAX_AGE: "${JWT_MAX_AGE}"
OPENID_ID: "${OPENID_ID}"
OPENID_SECRET: "${OPENID_SECRET}"
OPENID_REDIRECT: "${OPENID_REDIRECT}"
OPENID_WELL_KNOWN: "${OPENID_WELL_KNOWN}"
ALI_ECS_GUI_URL: "${ALI_ECS_GUI_URL:-http://localhost:8080}"
FLP_INFOLOGGER_URL: "${ALI_ECS_GUI_URL:-http://localhost:8081}"
QC_GUI_URL: "${ALI_ECS_GUI_URL:-http://localhost:8082}"
ALI_FLP_INDEX_URL: "${ALI_ECS_GUI_URL:-http://localhost:80}"
CCDB_ENABLE_SYNCHRONIZATION: false
links:
- database
restart: unless-stopped
volumes:
- type: bind
read_only: true
source: ./scripts
target: /opt
- type: bind
read_only: false
source: ./database/storage
target: /var/storage
database:
image: mariadb:10.5.9
environment:
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
restart: unless-stopped
volumes:
- type: bind
read_only: false
source: ./database/data
target: /var/lib/mysql
- type: bind
read_only: true
source: ./database/configuration
target: /etc/mysql/conf.d
- type: bind
read_only: true
source: ./database/populate
target: /docker-entrypoint-initdb.d