forked from hetida/hetida-designer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
93 lines (82 loc) · 2.21 KB
/
docker-compose-dev.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
version: "3.5"
volumes:
postgres_data:
driver: local
designer_obj_repo:
driver: local
local_files:
driver: local
services:
hetida-designer-frontend:
build:
context: .
dockerfile: Dockerfile-frontend
#image: hetida/designer-frontend
ports:
- 80:8080
depends_on:
- hetida-designer-backend
- hetida-designer-demo-adapter-python
hetida-designer-backend:
build:
context: .
dockerfile: Dockerfile-runtime
#image: hetida/designer-backend
environment:
- HD_DATABASE_URL=postgresql+psycopg2://hetida_designer_dbuser:hetida_designer_dbpasswd@hetida-designer-db:5432/hetida_designer_db
- HD_ENSURE_DB_SCHEMA=true
- HD_IS_RUNTIME_SERVICE=false
- HD_USE_AUTH=false
depends_on:
hetida-designer-db:
condition: service_healthy
hetida-designer-runtime:
condition: "service_started"
ports:
- 8080:8090
hetida-designer-runtime:
build:
context: .
dockerfile: Dockerfile-runtime
#image: hetida/designer-runtime
volumes:
- designer_obj_repo:/mnt/obj_repo
- ./runtime/demodata/local_files:/mnt/mounted_local_files
ports:
- 8090:8090
environment:
RUNTIME_LOCAL_FILE_ADAPTER_LOCAL_DIRECTORIES: '["/mnt/mounted_local_files"]'
HD_IS_BACKEND_SERVICE: "false"
HD_USE_AUTH: "false"
hetida-designer-db:
image: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: hetida_designer_db
POSTGRES_USER: hetida_designer_dbuser
POSTGRES_PASSWORD: hetida_designer_dbpasswd
ports:
- "5430:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U hetida_designer_dbuser -d hetida_designer_db"]
interval: 5s
timeout: 5s
retries: 5
hetida-designer-demo-adapter-java:
build:
context: .
dockerfile: Dockerfile-demo-adapter-java
image: hetida/designer-demo-adapter-java
ports:
- 8091:8091
hetida-designer-demo-adapter-python:
build:
context: .
dockerfile: Dockerfile-demo-adapter-python
image: hetida/designer-demo-adapter-python
ports:
- 8092:8092
networks:
default:
name: hetida-designer-network