@@ -8,7 +8,7 @@ version: "3.8"
8
8
services :
9
9
# PostgreSQL database service
10
10
postgres :
11
- image : postgres:latest
11
+ image : postgres:16
12
12
container_name : postgres_multi_db
13
13
environment :
14
14
# Database credentials and configuration
@@ -28,8 +28,9 @@ services:
28
28
29
29
# Sender Control Plane service
30
30
smartsense-controlplane :
31
- image : tractusx/edc-controlplane-postgresql-hashicorp-vault:0.7.7
31
+ image : tractusx/edc-controlplane-postgresql-hashicorp-vault:0.9.0
32
32
container_name : smartsense-controlplane
33
+ command : [ "--log-level=DEBUG" ]
33
34
ports :
34
35
# Expose Control Plane ports
35
36
- " 8191:8191"
@@ -39,14 +40,16 @@ services:
39
40
volumes :
40
41
# Mount configuration file
41
42
- ./deployment/env/smartsense/edc.properties:/app/configuration.properties
43
+ - ./deployment/env/smartsense/opentelemetry.properties:/app/opentelemetry.properties
42
44
environment :
43
45
# Specify the configuration file location
44
46
- CONFIGURATION_PROPERTIES_FILE=/app/configuration.properties
47
+ - OPENTELEMETRY_PROPERTIES_FILE=/app/opentelemetry.properties
45
48
depends_on :
46
49
postgres :
47
50
condition : service_started
48
- smartsense-edc-migration :
49
- condition : service_completed_successfully
51
+ # smartsense-edc-migration:
52
+ # condition: service_completed_successfully
50
53
# wallet-stub:
51
54
# condition: service_healthy
52
55
networks :
@@ -60,22 +63,25 @@ services:
60
63
61
64
# Sender Data Plane service
62
65
smartsense-dataplane :
63
- image : tractusx/edc-dataplane-hashicorp-vault:0.7.7
66
+ image : tractusx/edc-dataplane-hashicorp-vault:0.9.0
64
67
container_name : smartsense-dataplane
68
+ command : [ "--log-level=DEBUG" ]
65
69
ports :
66
70
# Expose Data Plane port
67
71
- " 8196:8193"
68
72
volumes :
69
73
# Mount configuration file
70
74
- ./deployment/env/smartsense/dataplane.properties:/app/configuration.properties
75
+ - ./deployment/env/smartsense/opentelemetry.properties:/app/opentelemetry.properties
71
76
environment :
72
77
# Specify the configuration file location
73
78
- CONFIGURATION_PROPERTIES_FILE=/app/configuration.properties
79
+ - OPENTELEMETRY_PROPERTIES_FILE=/app/opentelemetry.properties
74
80
depends_on :
75
81
postgres :
76
82
condition : service_started
77
- smartsense-edc-migration :
78
- condition : service_completed_successfully
83
+ # smartsense-edc-migration:
84
+ # condition: service_completed_successfully
79
85
# wallet-stub:
80
86
# condition: service_healthy
81
87
smartsense-controlplane :
@@ -85,8 +91,9 @@ services:
85
91
86
92
# Receiver Control Plane service
87
93
catena-x-controlplane :
88
- image : tractusx/edc-controlplane-postgresql-hashicorp-vault:0.7.7
94
+ image : tractusx/edc-controlplane-postgresql-hashicorp-vault:0.9.0
89
95
container_name : catena-x-controlplane
96
+ command : [ "--log-level=DEBUG" ]
90
97
ports :
91
98
# Expose Control Plane ports
92
99
- " 9191:9191"
@@ -96,14 +103,16 @@ services:
96
103
volumes :
97
104
# Mount configuration file
98
105
- ./deployment/env/catena-x/edc.properties:/app/configuration.properties
106
+ - ./deployment/env/catena-x/opentelemetry.properties:/app/opentelemetry.properties
99
107
environment :
100
108
# Specify the configuration file location
101
109
- CONFIGURATION_PROPERTIES_FILE=/app/configuration.properties
110
+ - OPENTELEMETRY_PROPERTIES_FILE=/app/opentelemetry.properties
102
111
depends_on :
103
112
postgres :
104
113
condition : service_started
105
- catena-x-edc-migration :
106
- condition : service_completed_successfully
114
+ # catena-x-edc-migration:
115
+ # condition: service_completed_successfully
107
116
# wallet-stub:
108
117
# condition: service_healthy
109
118
networks :
@@ -117,22 +126,25 @@ services:
117
126
118
127
# Receiver Data Plane service
119
128
catena-x-dataplane :
120
- image : tractusx/edc-dataplane-hashicorp-vault:0.7.7
129
+ image : tractusx/edc-dataplane-hashicorp-vault:0.9.0
121
130
container_name : catena-x-dataplane
131
+ command : [ "--log-level=DEBUG" ]
122
132
ports :
123
133
# Expose Data Plane port
124
134
- " 9196:8196"
125
135
volumes :
126
136
# Mount configuration file
127
137
- ./deployment/env/catena-x/dataplane.properties:/app/configuration.properties
138
+ - ./deployment/env/catena-x/opentelemetry.properties:/app/opentelemetry.properties
128
139
environment :
129
140
# Specify the configuration file location
130
141
- CONFIGURATION_PROPERTIES_FILE=/app/configuration.properties
142
+ - OPENTELEMETRY_PROPERTIES_FILE=/app/opentelemetry.properties
131
143
depends_on :
132
144
postgres :
133
145
condition : service_started
134
- catena-x-edc-migration :
135
- condition : service_completed_successfully
146
+ # catena-x-edc-migration:
147
+ # condition: service_completed_successfully
136
148
# wallet-stub:
137
149
# condition: service_started
138
150
catena-x-controlplane :
@@ -298,32 +310,33 @@ services:
298
310
networks :
299
311
- edc-network
300
312
313
+ # Manual DB migration is not needed with the latest version of Tractus-x EDC.
301
314
# This script creates missing tables in the EDC database.
302
315
# Ideally, migrations should handle this, but due to an issue in EDC 0.7.7, some tables were not created.
303
316
# To save time, we added this script as a precaution; it will only create tables if they don't exist.
304
- smartsense-edc-migration :
305
- image : flyway/flyway:latest
306
- container_name : smartsense-edc-migration
307
- command : -url=jdbc:postgresql://postgres:5432/smartsense-edc -schemas=public -user=root -password=root -connectRetries=10 migrate
308
- volumes :
309
- - ./deployment/env/postgres/migration.sql:/flyway/sql/V0_0_1_0__create_tables.sql
310
- depends_on :
311
- postgres :
312
- condition : service_started
313
- networks :
314
- - edc-network
315
-
316
- catena-x-edc-migration :
317
- image : flyway/flyway:latest
318
- container_name : catena-x-edc-migration
319
- command : -url=jdbc:postgresql://postgres:5432/catena-x-edc -schemas=public -user=root -password=root -connectRetries=10 migrate
320
- volumes :
321
- - ./deployment/env/postgres/migration.sql:/flyway/sql/V0_0_1_0__create_tables.sql
322
- depends_on :
323
- postgres :
324
- condition : service_started
325
- networks :
326
- - edc-network
317
+ # smartsense-edc-migration:
318
+ # image: flyway/flyway:latest
319
+ # container_name: smartsense-edc-migration
320
+ # command: -url=jdbc:postgresql://postgres:5432/smartsense-edc -schemas=public -user=root -password=root -connectRetries=10 migrate
321
+ # volumes:
322
+ # - ./deployment/env/postgres/migration.sql:/flyway/sql/V0_0_1_0__create_tables.sql
323
+ # depends_on:
324
+ # postgres:
325
+ # condition: service_started
326
+ # networks:
327
+ # - edc-network
328
+ #
329
+ # catena-x-edc-migration:
330
+ # image: flyway/flyway:latest
331
+ # container_name: catena-x-edc-migration
332
+ # command: -url=jdbc:postgresql://postgres:5432/catena-x-edc -schemas=public -user=root -password=root -connectRetries=10 migrate
333
+ # volumes:
334
+ # - ./deployment/env/postgres/migration.sql:/flyway/sql/V0_0_1_0__create_tables.sql
335
+ # depends_on:
336
+ # postgres:
337
+ # condition: service_started
338
+ # networks:
339
+ # - edc-network
327
340
328
341
# Define custom network for inter-service communication
329
342
networks :
0 commit comments