-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
105 lines (97 loc) · 2.61 KB
/
docker-compose-dev.yml
File metadata and controls
105 lines (97 loc) · 2.61 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
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
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:
condition: service_started
hetida-designer-demo-adapter-python:
condition: service_started
hetida-designer-backend:
build:
context: .
dockerfile: Dockerfile-runtime
#image: hetida/designer-backend
ports:
- 8080:8090
environment:
- HD_DATABASE_URL=postgresql+psycopg://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
- MAX_WORKERS=1
- LOG_LEVEL=DEBUG
- LOG_HTTPX=true
- HETIDA_DESIGNER_PURE_UVICORN=true
- LOG_DIRECT_PROVISIONING_OUTPUTS=true
healthcheck:
test: curl --fail http://hetida-designer-backend:8090/api/info || exit 1
interval: 5s
timeout: 3s
retries: 10
start_period: 60s
depends_on:
hetida-designer-db:
condition: service_healthy
hetida-designer-runtime:
condition: service_started
hetida-designer-runtime:
build:
context: .
dockerfile: Dockerfile-runtime
#image: hetida/designer-runtime
restart: always
ports:
- 8090:8090
volumes:
- designer_obj_repo:/mnt/obj_repo
- ./runtime/demodata/local_files:/mnt/mounted_local_files
environment:
RUNTIME_LOCAL_FILE_ADAPTER_LOCAL_DIRECTORIES: '["/mnt/mounted_local_files"]'
HD_IS_BACKEND_SERVICE: "false"
HD_USE_AUTH: "false"
MAX_WORKERS: 1
LOG_LEVEL: "DEBUG"
LOG_HTTPX: "true"
HETIDA_DESIGNER_PURE_UVICORN: "true"
LOG_DIRECT_PROVISIONING_OUTPUTS: "true"
hetida-designer-db:
image: postgres:latest
ports:
- 5430:5432
volumes:
- postgres_data:/var/lib/postgresql
environment:
POSTGRES_DB: hetida_designer_db
POSTGRES_USER: hetida_designer_dbuser
POSTGRES_PASSWORD: hetida_designer_dbpasswd
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U hetida_designer_dbuser -d hetida_designer_db",
]
interval: 5s
timeout: 5s
retries: 5
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