Skip to content

Commit 990b30d

Browse files
committed
fix: Correction de la syntaxe YAML dans docker-compose.yml
Le fichier docker-compose.yml contenait une erreur de syntaxe dans les sections depends_on des services postgres et drupal. On ne peut pas mélanger la syntaxe courte (- service) avec la syntaxe longue (service: condition:). Correction: - Utilisation de la syntaxe longue pour tous les depends_on - fluentd: condition: service_started - postgres: condition: service_healthy 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 18b4ba4 commit 990b30d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker-compose.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ services:
2525
fluentd-address: localhost:24224
2626
tag: postgres
2727
depends_on:
28-
- fluentd
28+
fluentd:
29+
condition: service_started
2930

3031
# Service Drupal
3132
drupal:
@@ -53,7 +54,8 @@ services:
5354
networks:
5455
- drupal-network
5556
depends_on:
56-
- fluentd
57+
fluentd:
58+
condition: service_started
5759
postgres:
5860
condition: service_healthy
5961
logging:

0 commit comments

Comments
 (0)