diff --git a/README.fr.md b/README.fr.md index 7199f7098..b1a954518 100644 --- a/README.fr.md +++ b/README.fr.md @@ -195,6 +195,18 @@ docker compose --profile gateway build --no-cache docker compose --profile gateway up -d ``` +### Script d'initialisation personnalisé + +Vous pouvez exécuter des étapes de configuration personnalisées avant le démarrage de PicoClaw en fournissant un script d'initialisation. Mettez à jour le chemin `init_script` dans `docker-compose.yml` : + +```yaml +configs: + init_script: + file: /chemin/vers/votre/script +``` + +Le script est exécuté à chaque démarrage du conteneur, avant PicoClaw. Sans fichier configuré, il s'agit d'une opération sans effet. + ### 🚀 Démarrage Rapide > [!TIP] diff --git a/README.ja.md b/README.ja.md index 3506c77c2..3ab019691 100644 --- a/README.ja.md +++ b/README.ja.md @@ -157,6 +157,18 @@ docker compose --profile gateway build --no-cache docker compose --profile gateway up -d ``` +### カスタム Init スクリプト + +PicoClaw の起動前にカスタムセットアップを実行できます。`docker-compose.yml` の `init_script` パスを更新してください: + +```yaml +configs: + init_script: + file: /path/to/your/init/script +``` + +このスクリプトはコンテナ起動のたびに、PicoClaw の前に実行されます。ファイルが設定されていない場合は何もしません。 + ### 🚀 クイックスタート(ネイティブ) > [!TIP] diff --git a/README.md b/README.md index 825f57340..bfaed9290 100644 --- a/README.md +++ b/README.md @@ -195,6 +195,18 @@ docker compose --profile gateway build --no-cache docker compose --profile gateway up -d ``` +### Custom Init Script + +You can run custom setup steps before PicoClaw starts by providing an init script. Update the `init_script` path in `docker-compose.yml`: + +```yaml +configs: + init_script: + file: /path/to/your/init/script +``` + +The script runs every time the container starts, before PicoClaw. With no file configured, it is a no-op. + ### 🚀 Quick Start > [!TIP] diff --git a/README.pt-br.md b/README.pt-br.md index ec8fe8e1c..74500af8a 100644 --- a/README.pt-br.md +++ b/README.pt-br.md @@ -196,6 +196,18 @@ docker compose --profile gateway build --no-cache docker compose --profile gateway up -d ``` +### Script de Inicialização Personalizado + +Você pode executar etapas de configuração personalizadas antes do PicoClaw iniciar, fornecendo um script de inicialização. Atualize o caminho `init_script` no `docker-compose.yml`: + +```yaml +configs: + init_script: + file: /caminho/para/seu/script/de/inicializacao +``` + +O script é executado toda vez que o contêiner inicia, antes do PicoClaw. Sem arquivo configurado, o comportamento padrão é uma operação nula. + ### 🚀 Início Rápido > [!TIP] diff --git a/README.vi.md b/README.vi.md index 161842933..47070d797 100644 --- a/README.vi.md +++ b/README.vi.md @@ -176,6 +176,18 @@ docker compose --profile gateway build --no-cache docker compose --profile gateway up -d ``` +### Script Khởi tạo Tùy chỉnh + +Bạn có thể chạy các bước cài đặt tùy chỉnh trước khi PicoClaw khởi động bằng cách cung cấp một script khởi tạo. Cập nhật đường dẫn `init_script` trong `docker-compose.yml`: + +```yaml +configs: + init_script: + file: /đường/dẫn/đến/script/của/bạn +``` + +Script được thực thi mỗi lần container khởi động, trước PicoClaw. Nếu không có file nào được cấu hình, đây là một thao tác không làm gì. + ### 🚀 Bắt đầu nhanh > [!TIP] diff --git a/README.zh.md b/README.zh.md index fd188567d..6b2c40e7b 100644 --- a/README.zh.md +++ b/README.zh.md @@ -200,6 +200,18 @@ docker compose --profile gateway up -d ``` +### 自定义初始化脚本 + +您可以在 PicoClaw 启动前执行自定义初始化步骤。在 `docker-compose.yml` 中更新 `init_script` 的路径: + +```yaml +configs: + init_script: + file: /path/to/your/init/script +``` + +该脚本在每次容器启动时、PicoClaw 运行前执行。若未配置文件,则默认为空操作。 + ### 🚀 快速开始 > [!TIP]