The provided script add support for oneline compose and build Odoo Complete Solution for Odoo developers. It mimic solutions presented on odoo.sh
Here's why:
- Store Your Credentials secure with encpass.sh
- Use Odoo in version you want
- Use PSQL in version you want
- Use local SMPT to test mails send from Odoo
- Use your own modules
- Use enterprise if needed (and if you have access 😄 )
- specify local directory for services data like odoo-config or addons
Short instruction how to run scripts
This is an example of how to list things you need to use the software and how to install them.
- docker
- docker-compose
git clone https://github.com/your_username_/Project-Name.git
sudo chmod +x docker_install.sh
sudo ./docker_install.sh
- Add permisions to use script
sudo chmod +x odoo_docker/docker_start.sh
- Add permissions for your projects directory
sudo chmod 755 ~/Documents/
- Run script with parameters
./docker_start.sh
For flags and example script invoke check
./docker_start.sh --help
./docker_start.sh -h
Usage: ./docker_start.sh -n {project_name} [parameters...]
Examples:
./docker_start.sh -n Test_Project -e -o 14.0 -p 12
./docker_start.sh -n Test_Project
(M) --> Mandatory parameter
(N) --> Need parameter
-n, --name (M) (N) Set project directory and containers names
-o, --odoo (N) Set version of Odoo
-p, --psql (N) Set version of postgreSQL
-a, --addons (N) Set addons repository HTTPS url
-b, --branch (N) Set addons repository branch
-e, --enterprise Set for install enterprise modules
For more examples, please refer to the Documentation
- localhost:8069 -- Odoo
- localhost:5080 -- SMTP
- Customize services ports from parameters
- Manage already created services (start, modify, stop, remove)
- Automatic deleting associated volumes and networks when removed
- Automatic pulls newly data from repositories after services run
- Add Grafana support