11services :
2- aas-env :
3- container_name : aas-environment
4- image : eclipsebasyx/aas-environment:2.0.0-SNAPSHOT
5- volumes :
6- - ./basyx/aas-env.properties:/application/application.properties
7- - ./aas:/application/aas
8- ports :
9- - 8081:8081
10- depends_on :
11- aas-registry :
12- condition : service_healthy
13- sm-registry :
14- condition : service_healthy
15- aas-discovery :
16- condition : service_healthy
17-
182 aas-registry :
193 container_name : aas-registry
204 image : eclipsebasyx/aasregistry-go:SNAPSHOT
215 ports :
22- - 8082:8080
6+ - 8082:5004
237 environment :
24- - SERVER_PORT=8080
8+ - SERVER_PORT=5004
259 - CORS_ALLOWEDORIGINS=*
2610 - CORS_ALLOWEDHEADERS=*
2711 - CORS_ALLOWEDCREDENTIALS=true
@@ -35,29 +19,41 @@ services:
3519 - POSTGRES_MAXIDLECONNECTIONS=500
3620 - POSTGRES_CONNMAXLIFETIMEMINUTES=5
3721 - ABAC_ENABLED=false
38- healthcheck :
39- test : ["CMD", "wget", "--quiet", "--tries=1", "--output-document=-", "http://localhost:8080/health"]
40- interval : 10s
41- timeout : 5s
42- retries : 5
43- start_period : 10s
4422 depends_on :
4523 db :
4624 condition : service_healthy
47-
25+ restart : unless-stopped
26+
4827 sm-registry :
4928 container_name : sm-registry
50- image : eclipsebasyx/submodel-registry-log-mem:2.0.0-SNAPSHOT
29+ image : eclipsebasyx/submodelregistry-go:SNAPSHOT
30+ environment :
31+ - SERVER_PORT=5004
32+ - CORS_ALLOWEDORIGINS=*
33+ - CORS_ALLOWEDHEADERS=*
34+ - CORS_ALLOWEDCREDENTIALS=true
35+ - CORS_ALLOWEDMETHODS=GET,POST,PUT,PATCH,DELETE,OPTIONS
36+ - POSTGRES_HOST=db
37+ - POSTGRES_PORT=5432
38+ - POSTGRES_USER=admin
39+ - POSTGRES_PASSWORD=admin123
40+ - POSTGRES_DBNAME=basyxTestDB
41+ - POSTGRES_MAXOPENCONNECTIONS=500
42+ - POSTGRES_MAXIDLECONNECTIONS=500
43+ - POSTGRES_CONNMAXLIFETIMEMINUTES=5
44+ - ABAC_ENABLED=false
5145 ports :
52- - 8083:8080
53- volumes :
54- - ./basyx/sm-registry.yml:/workspace/config/application.yml
46+ - 8083:5004
47+ depends_on :
48+ db :
49+ condition : service_healthy
50+ restart : unless-stopped
5551
5652 aas-discovery :
5753 container_name : aas-discovery
5854 image : eclipsebasyx/aasdiscovery-go:SNAPSHOT
5955 environment :
60- - SERVER_PORT=8081
56+ - SERVER_PORT=5004
6157 - CORS_ALLOWEDORIGINS=*
6258 - CORS_ALLOWEDHEADERS=*
6359 - CORS_ALLOWEDCREDENTIALS=true
@@ -72,17 +68,11 @@ services:
7268 - POSTGRES_CONNMAXLIFETIMEMINUTES=5
7369 - ABAC_ENABLED=false
7470 ports :
75- - " 8084:8081"
76- healthcheck :
77- test : ["CMD", "wget", "--quiet", "--tries=1", "--output-document=-", "http://localhost:8081/health"]
78- interval : 10s
79- timeout : 5s
80- retries : 5
81- start_period : 10s
71+ - " 8084:5004"
8272 depends_on :
8373 db :
8474 condition : service_healthy
85-
75+ restart : unless-stopped
8676
8777 aas-ui :
8878 container_name : aas-web-ui
@@ -93,13 +83,88 @@ services:
9383 AAS_REGISTRY_PATH : " http://localhost:8082/shell-descriptors"
9484 SUBMODEL_REGISTRY_PATH : " http://localhost:8083/submodel-descriptors"
9585 AAS_DISCOVERY_PATH : " http://localhost:8084/lookup/shells"
96- AAS_REPO_PATH : " http://localhost:8081/shells"
97- SUBMODEL_REPO_PATH : " http://localhost:8081/submodels"
98- CD_REPO_PATH : " http://localhost:8081/concept-descriptions"
99- restart : always
86+ AAS_REPO_PATH : " http://localhost:8090/shells"
87+ SUBMODEL_REPO_PATH : " http://localhost:8091/submodels"
88+ CD_REPO_PATH : " http://localhost:8092/concept-descriptions"
89+ restart : unless-stopped
90+
91+ aas_repository :
92+ container_name : aas-repository
93+ image : eclipsebasyx/aasrepository-go:SNAPSHOT
94+ environment :
95+ - SERVER_PORT=5004
96+ - CORS_ALLOWEDORIGINS=*
97+ - CORS_ALLOWEDHEADERS=*
98+ - CORS_ALLOWEDCREDENTIALS=true
99+ - CORS_ALLOWEDMETHODS=GET,POST,PUT,PATCH,DELETE,OPTIONS
100+ - POSTGRES_HOST=db
101+ - POSTGRES_PORT=5432
102+ - POSTGRES_USER=admin
103+ - POSTGRES_PASSWORD=admin123
104+ - POSTGRES_DBNAME=basyxTestDB
105+ - POSTGRES_MAXOPENCONNECTIONS=500
106+ - POSTGRES_MAXIDLECONNECTIONS=500
107+ - POSTGRES_CONNMAXLIFETIMEMINUTES=5
108+ - ABAC_ENABLED=false
109+ ports :
110+ - " 8090:5004"
111+ depends_on :
112+ db :
113+ condition : service_healthy
114+ restart : unless-stopped
115+
116+ submodel_repository :
117+ container_name : submodel-repository
118+ image : eclipsebasyx/submodelrepository-go:SNAPSHOT
119+ environment :
120+ - SERVER_PORT=5004
121+ - CORS_ALLOWEDORIGINS=*
122+ - CORS_ALLOWEDHEADERS=*
123+ - CORS_ALLOWEDCREDENTIALS=true
124+ - CORS_ALLOWEDMETHODS=GET,POST,PUT,PATCH,DELETE,OPTIONS
125+ - POSTGRES_HOST=db
126+ - POSTGRES_PORT=5432
127+ - POSTGRES_USER=admin
128+ - POSTGRES_PASSWORD=admin123
129+ - POSTGRES_DBNAME=basyxTestDB
130+ - POSTGRES_MAXOPENCONNECTIONS=500
131+ - POSTGRES_MAXIDLECONNECTIONS=500
132+ - POSTGRES_CONNMAXLIFETIMEMINUTES=5
133+ - JWS_PRIVATEKEYPATH=/app/rsa-key.pem
134+ - ABAC_ENABLED=false
135+ volumes :
136+ - ./basyx/rsa-key.pem:/app/rsa-key.pem:ro
137+ ports :
138+ - " 8091:5004"
100139 depends_on :
101- aas-env :
140+ db :
141+ condition : service_healthy
142+ restart : unless-stopped
143+
144+ concept-description-repository :
145+ container_name : concept-description-repository
146+ image : eclipsebasyx/conceptdescriptionrepository-go:SNAPSHOT
147+ environment :
148+ - SERVER_PORT=5004
149+ - CORS_ALLOWEDORIGINS=*
150+ - CORS_ALLOWEDHEADERS=*
151+ - CORS_ALLOWEDCREDENTIALS=true
152+ - CORS_ALLOWEDMETHODS=GET,POST,PUT,PATCH,DELETE,OPTIONS
153+ - POSTGRES_HOST=db
154+ - POSTGRES_PORT=5432
155+ - POSTGRES_USER=admin
156+ - POSTGRES_PASSWORD=admin123
157+ - POSTGRES_DBNAME=basyxTestDB
158+ - POSTGRES_MAXOPENCONNECTIONS=500
159+ - POSTGRES_MAXIDLECONNECTIONS=500
160+ - POSTGRES_CONNMAXLIFETIMEMINUTES=5
161+ - ABAC_ENABLED=false
162+ ports :
163+ - " 8092:5004"
164+ depends_on :
165+ db :
102166 condition : service_healthy
167+ restart : unless-stopped
103168
104169 # PostgreSQL database
105170 db :
@@ -109,11 +174,10 @@ services:
109174 POSTGRES_USER : admin
110175 POSTGRES_PASSWORD : admin123
111176 POSTGRES_DB : basyxTestDB
112- ports :
113- - " 5432:5432"
114177 command : ["postgres", "-c", "listen_addresses=*"]
115178 healthcheck :
116179 test : ["CMD-SHELL", "pg_isready -U admin -d basyxTestDB"]
117180 interval : 10s
118181 timeout : 5s
119- retries : 5
182+ retries : 5
183+ restart : unless-stopped
0 commit comments