enhanced .env variable usage

This commit is contained in:
Yhael S
2023-10-01 00:55:06 -05:00
parent 55270202ab
commit d0ec5118eb
6 changed files with 67 additions and 749 deletions

View File

@@ -20,8 +20,13 @@ services:
- ./odoo/extra-addons:${EXTRA_ADDONS}
- ./odoo/custom-addons:${CUSTOM_ADDONS}
- ./odoo/entrypoint.sh:/entrypoint.sh
env_file:
- ./.env
environment:
- HOST=${DB_HOST}
- PORT=${DB_PORT}
- USER=${DB_USER}
- PASSWORD=${DB_PASSWORD}
- ODOO_TAG
- THIRD_PARTY_ADDONS
networks:
- internal