Skip to content

Commit

Permalink
change healthcheck, switch database to default created (sample), add …
Browse files Browse the repository at this point in the history
…thread sleep
  • Loading branch information
iNikitaGricenko committed Mar 26, 2024
1 parent b1b8193 commit 7dc3fd2
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions docker-compose-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,22 @@ services:
db2:
condition: service_healthy

db2:
image: icr.io/db2_community/db2
ports:
- "50010:50000"
privileged: true
env_file:
- environment_db2
volumes:
- /Docker:/database
healthcheck:
test: /opt/ibm/db2/V11.5/bin/db2 CONNECT TO sample
interval: 30s
retries: 7
timeout: 240s
start_period: 120s

mysql:
image: mysql:8
command: --local-infile
Expand Down Expand Up @@ -55,21 +71,6 @@ services:
- "28123:8123"
- "29000:9000"

db2:
image: icr.io/db2_community/db2
ports:
- "50010:50000"
privileged: true
env_file:
- environment_db2
volumes:
- /Docker:/database
healthcheck:
test: /opt/ibm/db2/V11.5/bin/db2 CONNECT TO sample
interval: 15s
timeout: 240s
start_period: 120s

oracle:
image: wnameless/oracle-xe-11g-r2
ports:
Expand Down

0 comments on commit 7dc3fd2

Please sign in to comment.