go-duck-cli 1.1.18 → 1.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -96,6 +96,11 @@ services:
96
96
  - "${dbPort}:5432"
97
97
  volumes:
98
98
  - postgres_data:/var/lib/postgresql/data
99
+ healthcheck:
100
+ test: ["CMD-SHELL", "pg_isready -U ${config.datasource?.username || 'postgres'} -d ${config.datasource?.database || 'go_duck_master'}"]
101
+ interval: 5s
102
+ timeout: 5s
103
+ retries: 5
99
104
  networks:
100
105
  - go-duck-net
101
106
 
@@ -166,7 +171,8 @@ services:
166
171
  KC_DB_USERNAME: ${config.datasource?.username || 'postgres'}
167
172
  KC_DB_PASSWORD: ${config.datasource?.password || 'password'}
168
173
  depends_on:
169
- - postgres
174
+ postgres:
175
+ condition: service_healthy
170
176
  volumes:
171
177
  - ./keycloak/realm-config:/opt/keycloak/data/import
172
178
  ports:
@@ -240,7 +246,7 @@ services:
240
246
  - GO_DUCK_ELASTICSEARCH_ADDRESSES=http://elasticsearch:9200
241
247
  depends_on:
242
248
  postgres:
243
- condition: service_started
249
+ condition: service_healthy
244
250
  redis:
245
251
  condition: service_started
246
252
  mosquitto:
@@ -254,8 +260,7 @@ services:
254
260
 
255
261
  networks:
256
262
  go-duck-net:
257
- external: true
258
- name: devops_go-duck-net
263
+ driver: bridge
259
264
  `;
260
265
 
261
266
  // --- 5. MQTT Broker Config ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "go-duck-cli",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "description": "The Ultimate Evolutionary Go Microservice Scaffolder.",
5
5
  "main": "index.js",
6
6
  "type": "module",