Skip to content

Commit

Permalink
Update compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sonyavpaa authored Sep 30, 2024
1 parent ea2fb8a commit 5309d5b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ services:
container_name: ${COMPOSE_PROJECT_NAME}-app
hostname: ${COMPOSE_PROJECT_NAME}
image: druidfi/drupal-web:v8.3.12
depends_on:
db:
condition: service_healthy
volumes:
- .:/app:delegated
- ssh:/tmp/druid_ssh-agent:ro
Expand Down Expand Up @@ -32,6 +35,11 @@ services:
image: druidfi/mysql:8.0-drupal-lts
ports:
- 3306
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-pdrupal"]
interval: 5s
timeout: 5s
retries: 5

redis:
container_name: ${COMPOSE_PROJECT_NAME}-redis
Expand Down

0 comments on commit 5309d5b

Please sign in to comment.