Skip to content

Commit

Permalink
improve mysql readiness checks
Browse files Browse the repository at this point in the history
Signed-off-by: Ramon Petgrave <[email protected]>
  • Loading branch information
ramonpetgrave64 committed Mar 7, 2025
1 parent 7c7fae7 commit fa27085
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ services:
test: ["CMD", "/etc/init.d/mysql", "status"]
interval: 30s
timeout: 3s
retries: 3
start_period: 10s
retries: 5
start_period: 90s
redis-server:
image: docker.io/redis:6.2
command: [
Expand Down Expand Up @@ -63,7 +63,8 @@ services:
- "8090:8090"
- "8091:8091"
depends_on:
- mysql
mysql:
condition: service_healthy
trillian-log-signer:
image: ghcr.io/sigstore/scaffolding/trillian_log_signer@sha256:79d57af375cfa997ed5452cc0c02c0396d909fcc91d11065586f119490aa9214 # v1.6.0
command: [
Expand All @@ -79,7 +80,8 @@ services:
ports:
- "8092:8091"
depends_on:
- mysql
mysql:
condition: service_healthy
rekor-server:
build:
context: .
Expand Down

0 comments on commit fa27085

Please sign in to comment.