-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yml
66 lines (60 loc) · 1.71 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
volumes:
postgres_data:
driver: local
designer_obj_repo:
driver: local
local_files:
driver: local
services:
hetida-designer-frontend:
image: hetida/designer-frontend
ports:
- 80:8080
depends_on:
- hetida-designer-backend
- hetida-designer-demo-adapter-python
hetida-designer-backend:
image: hetida/designer-backend
ports:
- 8080:8090
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"
hetida-designer-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
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:
image: hetida/designer-demo-adapter-python
ports:
- 8092:8092
networks:
default:
name: hetida-designer-network