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 7 months ago
.gitignore modified odoo.conf & build.sh & docker-compose files 2 years ago
Dockerfile dockerfile move account_menu to save it for prod 2 years ago
README.md Mettre à jour 'README.md' 7 months ago
build.sh modified odoo.conf & build.sh & docker-compose files 2 years ago
docker-compose.yml replace tab by spaces 7 months ago
entrypoint.sh removed old docker related files not working on susan 2 years ago
odoo.conf modified odoo.conf & build.sh & docker-compose files 2 years ago
wait-for-psql.py removed old docker related files not working on susan 2 years ago

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