########################################################
#           Odoo Docker Deployment Config              #
########################################################
#   Configuration file for automated Odoo deployment   #
# Modify these variables according to your environment #
########################################################

########################
#  Core Configuration  #
########################
# IMPORTANT!! This field must not be null and determines the data grouping.
# This variable is crucial for:
# 1. Proper data separation between different instances
# 2. Naming of company's docker containers and volumes
# 3. Creating unique networks for each deployment
# Examples: client_name_18, company_prod_18, development_18
COMPOSE_PROJECT_NAME=test
# options: dev | prod
# -> Determines deployment target, choose adequate based on environment type
DEPLOYMENT_TARGET=dev

#########################
# Containers & Versions #
#########################
# -> Allowed odoo versions: 16, 17, 18, 19, latest
ODOO_VERSION=18
POSTGRES_VERSION=17

##########################
# Network & Connectivity #
##########################
# -> Domain for this Odoo, ej: example.loxika.com
DOMAIN=
# Odoo access port, make sure this port is not beeing used by other app
ODOO_EXPOSED_PORT=8069
# Don´t change unless necessary
ODOO_INTERNAL_PORT=8069

########################
# File System & Paths  #
########################
# -> Route to the Odoo config file, don´t change unless necessary
ODOO_CONFIG=./config/odoo.conf
# -> Route to the postgres config file, don't change unless neccessary
POSTGRES_CONFIG=./config/postgresql.conf
# -> Addons path, can be relative or absolute
ODOO_ADDONS=./addons

########################
# Module Management    #
########################
# options: true | false
# -> Auto install modules on container start up
AUTO_INSTALL_MODULES=true
# options: true | false
# -> Auto update modules on container start up
# Non installed modules wont be updated, however,
# modules modifyin base odoo modules might need to bee updated before installing
AUTO_UPDATE_MODULES=true
# options: empty | list of module names separated by comas ej: ps_module_sales, ps_module_contacts
# -> This option overrides "AUTO_UPDATE_MODULES", only the modules listed here will be updated
UPDATE_MODULE_LIST=
# options: true | false #Caution required
# -> Force module update, enabling this option may break your odoo instalation
FORCE_UPDATE=false
# options: true | false
# -> Create a fresh database for odoo if this option is set to true
AUTO_CREATE_DATABASE=true

########################
# Build & Development  #
########################
# options: true | false
# -> Enabling this option will force a rebuild of the docker image on each startup
FORCE_REBUILD=false

########################
# Optional Features    #
########################
# options: true | false
OPTIONAL_WHISPER=true