Script de déploiement de odoo dans un docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nas 094321233d replace tab by spaces hace 8 meses
.gitignore modified odoo.conf & build.sh & docker-compose files hace 2 años
Dockerfile dockerfile move account_menu to save it for prod hace 2 años
README.md Mettre à jour 'README.md' hace 8 meses
build.sh modified odoo.conf & build.sh & docker-compose files hace 2 años
docker-compose.yml replace tab by spaces hace 8 meses
entrypoint.sh removed old docker related files not working on susan hace 2 años
odoo.conf modified odoo.conf & build.sh & docker-compose files hace 2 años
wait-for-psql.py removed old docker related files not working on susan hace 2 años

README.md

Déploiement de Odoo

Dépendances :

apt update && apt dist-upgrade
sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release docker docker-compose

Obtenir odoo CBD:

sh build.sh

Redéployer

Un fichier de configuration .env (remplacer MOT_DE_PASSE par le votre) doit-être présent:

ODOO_PORT=8012
DB_NAME=odoo
DB_USER=odoo
DB_PASSWORD=MOT_DE_PASSE
DB_PORT=5432

Il sera chargé automatiquement par l’execution de build.sh

Modules

Résolution

Si les modules n’apparaissent pas, cette commande à chaud peut résoudre le problème

docker-compose exec odoo python3 /opt/odoo/odoo/odoo-bin -c /opt/odoo/etc/odoo.conf -init account_menu --stop-after-init --no-http --without-demo=all --database=odoo