@@ -10,6 +10,7 @@ services:
1010 restart : " no"
1111 profiles :
1212 - ide
13+ - runtime
1314
1415 postgres :
1516 image : postgres:16.1
@@ -38,6 +39,7 @@ services:
3839 environment :
3940 INITIAL_ROOT_PASSWORD : ${INITIAL_ROOT_PASSWORD}
4041 INITIAL_ROOT_MAIL : ${INITIAL_ROOT_MAIL}
42+ INITIAL_RUNTIME_TOKEN : ${INITIAL_RUNTIME_TOKEN}
4143 volumes :
4244 - generated-configs:/tmp/generated-configs:ro
4345 entrypoint : |
@@ -93,7 +95,7 @@ services:
9395 - ide
9496
9597 nginx :
96- image : nginx:1.29.5 -alpine-slim
98+ image : nginx:1.30.0 -alpine-slim
9799 depends_on :
98100 config-generator :
99101 condition : service_completed_successfully
@@ -123,12 +125,16 @@ services:
123125 image : nats:2.11.9
124126 command :
125127 - -js
128+ restart : unless-stopped
126129 profiles :
127130 - runtime
128131
129132 aquila :
130133 depends_on :
131- - nats
134+ config-generator :
135+ condition : service_completed_successfully
136+ nats :
137+ condition : service_started
132138 image : ${IMAGE_REGISTRY}/aquila:${IMAGE_TAG}
133139 environment :
134140 MODE : dynamic
@@ -137,6 +143,14 @@ services:
137143 GRPC_HOST : 0.0.0.0
138144 SAGITTARIUS_URL : " ${AQUILA_SAGITTARIUS_URL}"
139145 RUNTIME_TOKEN : " ${AQUILA_SAGITTARIUS_TOKEN}"
146+ volumes :
147+ - generated-configs:/tmp/generated-configs:ro
148+ entrypoint : |
149+ sh -c "
150+ cp /tmp/generated-configs/aquila.service.configuration.json /service.configuration.json
151+ exec /aquila
152+ "
153+ restart : unless-stopped
140154 profiles :
141155 - runtime
142156
@@ -150,6 +164,8 @@ services:
150164 AQUILA_URL : ' http://aquila:8081'
151165 NATS_URL : nats://nats:4222
152166 DEFINITION_PATH : ' /definitions'
167+ AQUILA_TOKEN : " ${TAURUS_AQUILA_TOKEN}"
168+ restart : unless-stopped
153169 profiles :
154170 - runtime
155171
@@ -165,8 +181,10 @@ services:
165181 DEFINITION_PATH : ' /definitions'
166182 HTTP_SERVER_PORT : 8084
167183 HTTP_SERVER_HOST : " 0.0.0.0"
184+ AQUILA_TOKEN : " ${DRACO_REST_AQUILA_TOKEN}"
168185 ports :
169186 - " ${DRACO_REST_PORT}:8084"
187+ restart : unless-stopped
170188 profiles :
171189 - runtime
172190
@@ -180,6 +198,8 @@ services:
180198 NATS_URL : nats://nats:4222
181199 NATS_BUCKET : ' flow_store'
182200 DEFINITION_PATH : ' /definitions'
201+ AQUILA_TOKEN : " ${DRACO_CRON_AQUILA_TOKEN}"
202+ restart : unless-stopped
183203 profiles :
184204 - runtime
185205
0 commit comments