-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
118 lines (118 loc) · 2.56 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: "3.3"
services:
kun-postgres:
image: "postgres:11.5"
environment:
TZ:
POSTGRES_USER:
POSTGRES_PASSWORD:
POSTGRES_DB:
restart: always
volumes:
- ./data/postgres/data:/var/lib/postgresql/data
- ./docker_init_db.sql:/docker-entrypoint-initdb.d/docker_init_db.sql
ports:
- ${DB_PG_PORT}
kun-redis:
image: "redis:6.0.8"
restart: always
volumes:
- ./data/redis/data:/data
ports:
- ${DB_REDIS_PORT}
kun-neo4j:
image: "neo4j:3.5.22"
environment:
TZ:
NEO4J_AUTH: none
restart: always
volumes:
- ./data/neo4j/data:/data
ports:
- ${DB_NEO4J_PORT}
kun-security:
image: "${IMAGE_REMOTE_ORG}kun-security:${KUN_VERSION}"
environment:
TZ:
APP_CONFIG_ENV:
SPRING_PROFILES_ACTIVE:
SECURITY_PORT:
DB_PG_IP:
DB_PG_PORT:
DB_PG_USERNAME:
DB_PG_PASSWORD:
restart: always
volumes:
- ./logs/kun-security:/server/target/kun-security-logs/:z
ports:
- ${SECURITY_PORT}
depends_on:
- kun-postgres
- kun-neo4j
kun-infra:
image: "${IMAGE_REMOTE_ORG}kun-infra:${KUN_VERSION}"
environment:
TZ:
APP_CONFIG_ENV:
SPRING_PROFILES_ACTIVE:
KUN_INFRA_HOST:
KUN_INFRA_PORT:
DB_PG_IP:
DB_PG_PORT:
DB_PG_USERNAME:
DB_PG_PASSWORD:
WORKFLOW_RPC_SERVICE_PORT:
DB_NEO4J_IP:
DB_NEO4J_PORT:
DB_REDIS_IP:
DB_REDIS_PORT:
LIB_DIRECTORY:
restart: always
volumes:
- ./data/kun-infra/data:/data
- ./logs/kun-infra:/server/target/kun-infra-logs/:z
ports:
- ${KUN_INFRA_PORT}
depends_on:
- kun-postgres
- kun-neo4j
- kun-redis
kun-app:
image: "${IMAGE_REMOTE_ORG}kun-app:${KUN_VERSION}"
environment:
TZ:
APP_CONFIG_ENV:
SPRING_PROFILES_ACTIVE:
KUN_APP_PORT:
DB_PG_IP:
DB_PG_PORT:
DB_PG_USERNAME:
DB_PG_PASSWORD:
DB_REDIS_IP:
DB_REDIS_PORT:
SECURITY_HOST:
SECURITY_PORT:
KUN_INFRA_HOST:
KUN_INFRA_PORT:
restart: always
volumes:
- ./logs/kun-app:/server/target/kun-app-logs/:z
ports:
- ${KUN_APP_PORT}
depends_on:
- kun-infra
kun-frontend:
image: "${IMAGE_REMOTE_ORG}kun-frontend:${KUN_VERSION}"
environment:
TZ:
SECURITY_HOST:
SECURITY_PORT:
KUN_INFRA_HOST:
KUN_INFRA_PORT:
KUN_APP_HOST:
KUN_APP_PORT:
restart: always
ports:
- ${LISTEN_PORT-8080}:80
depends_on:
- kun-app