Ajout Odoo

This commit is contained in:
Serge NOEL committed 2026-10-13 14:20:17 +02:00
1 parent dc18e36d67
commit 241fe73a2b
1 file changed
+35
+35
View File
@@ -0,0 +1,35 @@
services:
web:
image: odoo:20.0
depends_on:
- db
ports:
- "8069:8069"
volumes:
- odoo-web-data:/var/lib/odoo
- odoo-config:/etc/odoo
- odoo-addons:/mnt/extra-addons
environment:
- PASSWORD_FILE=/etc/odoo/postgresql_password
secrets:
- postgresql_password
db:
image: postgres:17.2-alpine3.21
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD_FILE=/run/secrets/postgresql_password
- POSTGRES_USER=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- odoo-db-data:/var/lib/postgresql/data/pgdata
secrets:
- postgresql_password
volumes:
odoo-web-data:
odoo-config:
odoo-addons:
odoo-db-data:
secrets:
postgresql_password:
file: odoo_pg_pass