initial commit
This commit is contained in:
27
odoo/odoo.yml
Normal file
27
odoo/odoo.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
services:
|
||||
odoo:
|
||||
image: odoo:19
|
||||
container_name: odoo
|
||||
restart: always
|
||||
environment:
|
||||
- HOST=${ODOO_DB_HOST}
|
||||
- USER=${ODOO_DB_USER}
|
||||
- PASSWORD=${ODOO_DB_PASSWORD}
|
||||
- DB_NAME=${ODOO_DB}
|
||||
volumes:
|
||||
# Persistent Odoo data (filestore, sessions, attachments)
|
||||
- odoo-db-data:/var/lib/odoo
|
||||
# Keep local ./addons for development; you can remove this to use the named volume instead
|
||||
- ./odoo/addons:/mnt/extra-addons
|
||||
# Odoo configuration and custom config files
|
||||
- odoo-config:/etc/odoo
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.odoo.entrypoints=https"
|
||||
- "traefik.http.routers.odoo.rule=Host(`${ODOO_HOST:-odoo.opencloud.test}`)"
|
||||
- "traefik.http.services.odoo.loadbalancer.server.port=8069"
|
||||
- "traefik.http.routers.odoo.service=odoo"
|
||||
- "traefik.http.routers.odoo.${TRAEFIK_SERVICES_TLS_CONFIG}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user