Document Docker-internal service URLs in env example
- Clarify that Compose services must use service-name URLs - Warn against using 127.0.0.1 or localhost inside containers
This commit is contained in:
parent
6ba3c5343b
commit
00ba0db5ce
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
## Docker-internal service URLs (do not use 127.0.0.1/localhost here).
|
||||||
|
## Containers must reach each other via Compose service names.
|
||||||
NATS_URL=nats://nats:4222
|
NATS_URL=nats://nats:4222
|
||||||
CLICKHOUSE_URL=http://clickhouse:8123
|
CLICKHOUSE_URL=http://clickhouse:8123
|
||||||
CLICKHOUSE_DATABASE=default
|
CLICKHOUSE_DATABASE=default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue