一键导入
docker-odoo-management
Comprehensive knowledge and utilities for managing the docker-odoo repository, including setup, deployment, and maintenance workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Comprehensive knowledge and utilities for managing the docker-odoo repository, including setup, deployment, and maintenance workflows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | docker-odoo-management |
| description | Comprehensive knowledge and utilities for managing the docker-odoo repository, including setup, deployment, and maintenance workflows. |
This skill provides the necessary context and instructions for managing the Odoo Docker environment in this repository. Use this knowledge to assist the user with deployment, configuration, and troubleshooting tasks.
This toolkit allows for the deployment and management of Odoo instances using Docker. Use the setup.sh script to configure the environment's mode:
Development Mode:
odoo-base (core code) and git (custom addons).odoo-base/ or git/ and restart the container to see changes.Builder Mode:
Production Mode:
setup.sh)Always check if setup.sh needs to be run or if the environment is already configured. This script:
docker-compose.yml and dockerfile..secrets/ with database credentials./etc/logrotate.d/.Command: sudo ./setup.sh
scripts/: Contains executable scripts for maintenance.
scripts/example/ are templates. Copy them to scripts/ (removing .example) and customize them before use.utilities/: Scripts mounted/copied into the container (e.g., odoo-shell).conf/: Configuration files like odoo.conf.odoo-base/: The Odoo core source code.git/: Custom Odoo modules/addons.To deploy changes or update modules, use the deploy_release_candidate.sh script.
./scripts/deploy_release_candidate.sh <database_name> --update=<module_list>scripts/databasecloner.sh to copy a database from one environment to another (e.g., Prod -> Dev).
scripts/backupdata.sh.scripts/restore_backupdata.sh.The following scripts utilize the database restoration method and will automatically generate a database name (using a sequential prefix) if one is not provided:
scripts/databasecloner_manual.shscripts/databasecloner.shscripts/deploy_release_candidate.shscripts/deploy_release_candidate_manual.shscripts/restore_backupdata.shscripts/restore_backupdata_manual.shdocker compose exec odoo odoo-module-upgrade <database_name>
/var/log/odoo/<service_name>/ for Odoo server logs..secrets/ directory.odoo.conf in the conf/ directory, then restart the container.