fix(templates): change path of volumes to be in files folder to prevent delete the volumes

This commit is contained in:
Mauricio Siu
2024-07-25 01:02:10 -06:00
parent d1bd2b29fe
commit e72add74c3
5 changed files with 32 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
version: '3.8'
version: "3.8"
services:
web:
image: odoo:16.0
@@ -18,8 +18,8 @@ services:
- "traefik.http.services.${HASH}.loadbalancer.server.port=${ODOO_PORT}"
volumes:
- odoo-web-data:/var/lib/odoo
- ./config:/etc/odoo
- ./addons:/mnt/extra-addons
- ../files/config:/etc/odoo
- ../files/addons:/mnt/extra-addons
db:
image: postgres:13
@@ -36,7 +36,6 @@ volumes:
odoo-web-data:
odoo-db-data:
networks:
dokploy-network:
external: true