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