This commit is contained in:
LORENZO\pacio 2025-05-29 12:39:55 +02:00
parent 82358bdcbd
commit e203c878cf

View File

@ -4,6 +4,7 @@ services:
env_file: .env
depends_on:
- postgres
restart: always
ports:
- "18069:8069"
volumes:
@ -12,7 +13,7 @@ services:
- ./config/odoo.conf:/etc/odoo/odoo.conf
environment:
- TZ=Europe/Rome
#alternativo all'uso dell'env
#alternativo all'uso del .env
#environment:
# - HOST=192.168.1.179 # indirizzo del tuo PostgreSQL
# - USER=odoo
@ -24,6 +25,7 @@ services:
postgres:
image: postgres:15
env_file: .env
restart: always
volumes:
- db:/var/lib/postgresql/data/pgdata
volumes: