Fix db2 container
+version: "2.4"
+services:
mysql:
image: mysql:5.6.38
ports:
@@ -40,13 +42,22 @@ mongo:
- "27017:27017"
db2:
- image: ibmcom/db2express-c:10.5.0.5-3.10.0
+ image: ibmcom/db2:11.5.0.0
+ privileged: true
ports:
- "50000:50000"
environment:
- DB2INST1_PASSWORD=a3sd!fDj
+ - DBNAME=sample
- LICENSE=accept
- command: db2start
+ - ARCHIVE_LOGS=false
+ - AUTOCONFIG=false
+ healthcheck:
+ test: ["CMD", "su", "-", "$${DB2INSTANCE}", "-c", "/opt/ibm/db2/V11.5/bin/db2 CONNECT TO sample"]
+ interval: 30s
+ timeout: 40s
+ retries: 10
+ start_period: 40s
firebird:
image: jacobalberty/firebird:2.5.6-ss
