docs: Add a tip for Docker users regarding gateway host configuration to the French and Vietnamese READMEs.
This commit is contained in:
parent
c299163ed3
commit
ac058464d6
2 changed files with 8 additions and 0 deletions
|
|
@ -171,6 +171,10 @@ vim config/config.json # Configurez DISCORD_BOT_TOKEN, clés API, etc.
|
||||||
# 3. Compiler & Démarrer
|
# 3. Compiler & Démarrer
|
||||||
docker compose --profile gateway up -d
|
docker compose --profile gateway up -d
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> **Utilisateurs Docker** : Par défaut, le Gateway écoute sur `127.0.0.1`, ce qui n'est pas accessible depuis l'hôte. Si vous avez besoin d'accéder aux endpoints de santé ou d'exposer des ports, définissez `PICOCLAW_GATEWAY_HOST=0.0.0.0` dans votre environnement ou mettez à jour `config.json`.
|
||||||
|
|
||||||
|
|
||||||
# 4. Voir les logs
|
# 4. Voir les logs
|
||||||
docker compose logs -f picoclaw-gateway
|
docker compose logs -f picoclaw-gateway
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -152,6 +152,10 @@ vim config/config.json # Thiết lập DISCORD_BOT_TOKEN, API keys, v.v.
|
||||||
# 3. Build & Khởi động
|
# 3. Build & Khởi động
|
||||||
docker compose --profile gateway up -d
|
docker compose --profile gateway up -d
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> **Người dùng Docker**: Theo mặc định, Gateway lắng nghe trên `127.0.0.1`, không thể truy cập từ máy chủ. Nếu bạn cần truy cập các endpoint kiểm tra sức khỏe hoặc mở cổng, hãy đặt `PICOCLAW_GATEWAY_HOST=0.0.0.0` trong môi trường của bạn hoặc cập nhật `config.json`.
|
||||||
|
|
||||||
|
|
||||||
# 4. Xem logs
|
# 4. Xem logs
|
||||||
docker compose logs -f picoclaw-gateway
|
docker compose logs -f picoclaw-gateway
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue