-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
154 lines (154 loc) · 4.24 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
version: '3'
services:
########## OpenTOSCA ##########
container:
image: opentosca/container:lauffeuer
ports:
- '1337:1337'
- '1883:1883' # MQTT
- '8081-8087:8081-8087'
environment:
CONTAINER_HOSTNAME: ${PUBLIC_HOSTNAME}
ENGINE_IA_JAVA17_HOSTNAME: engine-ia-jdk17
ENGINE_IA_JAVA17_PORT: 8080
ENGINE_PLAN_BPEL_HOSTNAME: engine-plan-bpel
ENGINE_PLAN_BPMN_HOSTNAME: engine-plan-bpmn
ENGINE_PLAN_BPMN_PORT: 8080
CONTAINER_DEPLOYMENT_TESTS: 'false'
networks:
- lauffeuer
ui:
image: opentosca/ui:latest
environment:
API_ENDPOINT_HOST: ${PUBLIC_HOSTNAME}
API_ENDPOINT_PORT: 1337
WINERY_HOST: ${PUBLIC_HOSTNAME}
WINERY_PORT: 8080
ports:
- '8088:8080'
networks:
- lauffeuer
engine-plan-bpel:
image: opentosca/ode:latest
environment:
_JAVA_OPTIONS: "-Xmx3048m -Xms512m -Xss4m"
JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
ports:
- '9763:9763' # http
networks:
- lauffeuer
engine-ia-jdk17:
image: ghcr.io/opentosca/engine-ia:master
ports:
- '8093:8080'
networks:
- lauffeuer
winery:
image: opentosca/winery:lauffeuer
environment:
WINERY_HOSTNAME: ${PUBLIC_HOSTNAME}
WORKFLOWMODELER_HOSTNAME: ${PUBLIC_HOSTNAME}
TOPOLOGYMODELER_HOSTNAME: ${PUBLIC_HOSTNAME}
CONTAINER_HOSTNAME: ${PUBLIC_HOSTNAME}
WINERY_REPOSITORY_URL: https://github.com/lharzenetter/tosca-lauffeuer-modeling
ports:
- '8080:8080'
networks:
- lauffeuer
dind:
image: docker:20.10-dind
privileged: true
environment:
- DOCKER_TLS_CERTDIR=
networks:
- lauffeuer
ports:
- '2222:2375'
- '3306:3306'
- '9990-9999:9990-9999'
- '9990-9999:9990-9999/udp'
########## PatternAtlas ##########
db:
image: postgres:15
environment:
POSTGRES_USER: patternatlas
POSTGRES_PASSWORD: patternatlas
POSTGRES_DB: patternatlas
ports:
- "5060:5432"
networks:
- lauffeuer
pattern-atlas-api:
image: patternatlas/pattern-atlas-api:latest
environment:
JDBC_DATABASE_URL: db
JDBC_DATABASE_USERNAME: patternatlas
JDBC_DATABASE_PASSWORD: patternatlas
JDBC_DATABASE_PORT: 5432
DB_INIT_USER: patternatlas
DB_INIT_PASSWORD: patternatlas
LATEX_RENDERER_HOST_NAME: latex-renderer
LATEX_RENDERER_PORT: 5030
JDBC_DATABASE_NAME: patternatlas
PATTERN_ATLAS_FETCH_INITIAL_DATA: 'true'
HAL_EXPLORER: 'false'
# activate correct application properties
SPRING_PROFILES_ACTIVE: docker
JWK_URI: http://auth:8080/realms/patternatlas/protocol/openid-connect/certs
SECURITY_LOGLEVEL: info
ports:
- "1977:1977"
networks:
- lauffeuer
depends_on:
- db
restart: on-failure
pattern-atlas-ui:
image: patternatlas/pattern-atlas-ui:latest
depends_on:
- config-server
environment:
# because the requests are performed from the browser and not
# from the container itself we have to specify localhost here
# and **not** the container name
PATTERN_ATLAS_API_HOST_NAME: ${PUBLIC_HOSTNAME}
PATTERN_ATLAS_API_PORT: 1977
LATEX_RENDERER_HOST_NAME: ${PUBLIC_HOSTNAME}
LATEX_RENDERER_PORT: 5030
URL_SCHEME: http
AUTH_REALM_URL: http://${PUBLIC_HOSTNAME}:7080/realms/patternatlas
CONFIG_SERVER_HOST_NAME: ${PUBLIC_HOSTNAME}
CONFIG_SERVER_PORT: 3333
volumes:
- ./config:/opt/init-config.d
ports:
- "1978:80"
networks:
- lauffeuer
auth:
image: quay.io/keycloak/keycloak:18.0.0
command: start-dev --import-realm
volumes:
- ./keycloak_import:/opt/keycloak/data/import
environment:
KEYCLOAK_ADMIN_PASSWORD: admin
KEYCLOAK_ADMIN: admin
ports:
- "7080:8080"
networks:
- lauffeuer
config-server:
image: quay.io/coreos/etcd:v3.3.8
environment:
ETCD_NAME: config-node1
ETCD_CORS: "*"
ETCD_ADVERTISE_CLIENT_URLS: "http://config-server:3333"
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:3333"
ETCDCTL_API: 3
ports:
- "3333:3333"
networks:
- lauffeuer
networks:
lauffeuer:
driver: bridge