Skip to content

Commit a135f45

Browse files
committed
fix: Correction de l'adresse Fluentd et ajout de async-connect
Problème: - Les services utilisaient localhost:24224 pour se connecter à Fluentd - Dans Docker, localhost fait référence au conteneur lui-même - Cela causait l'erreur: "dial tcp [::1]:24224: connect: connection refused" Solution: - Utilisation de fluentd:24224 (nom du service Docker) - Ajout de fluentd-async-connect: "true" pour permettre aux conteneurs de démarrer même si Fluentd n'est pas encore complètement prêt - Évite les blocages au démarrage 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 990b30d commit a135f45

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
@@ -22,7 +22,8 @@ services:
2222
logging:
2323
driver: fluentd
2424
options:
25-
fluentd-address: localhost:24224
25+
fluentd-address: fluentd:24224
26+
fluentd-async-connect: "true"
2627
tag: postgres
2728
depends_on:
2829
fluentd:
@@ -61,7 +62,8 @@ services:
6162
logging:
6263
driver: fluentd
6364
options:
64-
fluentd-address: localhost:24224
65+
fluentd-address: fluentd:24224
66+
fluentd-async-connect: "true"
6567
tag: drupal
6668

6769
# Service Elasticsearch

0 commit comments

Comments
 (0)