-
Notifications
You must be signed in to change notification settings - Fork 86
/
docker-compose.oracle.yml
114 lines (114 loc) · 2.93 KB
/
docker-compose.oracle.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
version: '2'
services:
db_camunda:
image: postgres:9.6
hostname: postgres-camunda
container_name: postgres-camunda
command: postgres -c idle_in_transaction_session_timeout=$BPM_DB_IDLE_SESSION_TIMEOUT
restart: always
env_file:
- ".env"
environment:
PGDATA: $BPM_DB_PATH
POSTGRES_DB: $BPM_DB_NAME
POSTGRES_USER: $BPM_DB_USER
POSTGRES_PASSWORD: $BPM_DB_PASSWORD
TZ: Europe/Moscow
volumes:
- ./data/camunda/postgresql:$BPM_DB_PATH
ports:
- $BPM_DB_PORT:5432
networks:
- custom_network
db_homs:
image: postgres:15.4-alpine
hostname: postgres-homs
container_name: postgres-homs
restart: always
env_file:
- ".env"
environment:
PGDATA: $HOMS_DB_PATH
POSTGRES_DB: $HOMS_DB_NAME
POSTGRES_USER: $HOMS_DB_USER
POSTGRES_PASSWORD: $HOMS_DB_PASSWORD
TZ: Europe/Moscow
volumes:
- ./data/homs/postgresql:$HOMS_DB_PATH
ports:
- $HOMS_DB_PORT:5432
networks:
- custom_network
camunda:
image: latera/camunda
container_name: camunda
env_file:
- ".env"
links:
- db_camunda:$BPM_DB_HOST
environment:
DB_DRIVER: org.postgresql.Driver
DB_URL: "jdbc:postgresql://db_camunda:5432/$BPM_DB_NAME"
DB_USERNAME: $BPM_DB_USER
DB_PASSWORD: $BPM_DB_PASSWORD
WAIT_FOR: "postgres-camunda:5432"
WAIT_FOR_TIMEOUT: 120
ports:
- $BPM_PORT:8080
depends_on:
- db_camunda
networks:
- custom_network
minio:
image: minio/minio:latest
container_name: minio
command: "server /opt/minio"
restart: always
environment:
MINIO_ACCESS_KEY: $MINIO_ACCESS_KEY
MINIO_SECRET_KEY: $MINIO_SECRET_KEY
volumes:
- ./data/minio:/opt/minio
ports:
- $MINIO_PORT:9000
homs:
image: latera/homs-with-oracle
container_name: homs
restart: always
env_file:
- ".env"
environment:
ADMIN_EMAIL: HOMS_USER
ADMIN_PASSWORD: HOMS_PASSWORD
ADMIN_API_TOKEN: HOMS_TOKEN
SEED_DB: $HOMS_DB_SEED
links:
- db_homs:$HOMS_DB_HOST
- camunda:$BPM_HOST
volumes:
- $TNSNAMES_PATH:/etc/oracle/tnsnames.ora
- /etc/hydra/homs/homs_configuration.yml:/opt/homs/config/homs_configuration.yml
- /etc/hydra/homs/imprint.yml:/opt/homs/config/imprint.yml
- /etc/hydra/homs/hbw.yml:/opt/homs/config/hbw.yml
- /etc/hydra/homs/database.yml:/opt/homs/config/database.yml
- /etc/hydra/homs/bpm.yml:/opt/homs/config/bpm.yml
- /etc/hydra/homs/sources.yml:/opt/homs/config/sources.yml
- /etc/hydra/homs/secrets.yml:/opt/homs/config/secrets.yml
depends_on:
- db_homs
- camunda
- minio
- redis
ports:
- $HOMS_PORT:3000
networks:
- custom_network
redis:
image: redis
container_name: redis
hostname: redis
networks:
- custom_network
networks:
custom_network:
driver: bridge