forked from pianodaemon/knight-rider
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
72 lines (67 loc) · 1.68 KB
/
docker-compose.yaml
File metadata and controls
72 lines (67 loc) · 1.68 KB
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
version: '3.6'
x-shared-environment: &commonEnv
REDIS_HOST: "cache_obs"
REDIS_PORT: 6379
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_PORT: 5432
POSTGRES_HOST: "rdbms_obs"
POSTGRES_DB: "soa"
services:
ui_obs:
container_name: 'ui_obs'
build:
context: './DOS/ui'
args:
NODE_ENV: 'production'
REACT_APP_HOST_API: 'http://localhost:8080/api/v1'
REACT_APP_HOST_AUTH: 'http://localhost:10090/v1'
ports:
- '80:80'
networks:
- operational_network
api_obs:
container_name: 'api_obs'
build: './DOS/soa'
ports:
- '8080:80'
environment: *commonEnv
volumes:
- ./DOS/keys:/pem
- ./DOS/uploads:/uploads
networks:
- operational_network
rdbms_obs:
container_name: 'rdbms_obs'
image: 'debezium/postgres'
ports:
- '5432:5432'
environment: *commonEnv
volumes:
- serv_obs_pg_data:/var/lib/postgresql/data
networks:
- operational_network
sso_obs:
container_name: 'sso_obs'
build: './DOS/sso'
ports:
- '10090:10080'
environment: *commonEnv
volumes:
- ./DOS/keys:/pem
networks:
- operational_network
cache_obs:
container_name: 'cache_obs'
image: redis:alpine
ports:
- "6379:6379"
environment: *commonEnv
networks:
- operational_network
networks:
operational_network:
name: operational_network
driver: bridge
volumes:
serv_obs_pg_data: