update for adding app

This commit is contained in:
Armand Gillot 2023-12-07 17:53:42 +01:00
parent ca7dc4247f
commit e7669c880a
2 changed files with 14 additions and 6 deletions

View File

@ -5,7 +5,7 @@
"exposable": true,
"id": "odoo",
"tipi_version": 1,
"version": "17.0",
"version": "17",
"categories": [
"utilities",
"finance",
@ -15,6 +15,14 @@
"short_desc": "Open-source business management software with modular applications for streamlined operations.",
"author": "armandgillot",
"source": "https://github.com/odoo/odoo",
"form_fields": [
{
"type": "random",
"label": "odoo postgres password.",
"min": 32,
"env_variable": "ODOO_POSTGRES_PASSWORD"
}
],
"supported_architectures": [
"arm64",
"amd64"

View File

@ -7,11 +7,11 @@ services:
user: root
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo17@2023
- POSTGRES_PASSWORD=${ODOO_POSTGRES_PASSWORD}
- POSTGRES_DB=postgres
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/postgresql:/var/lib/postgresql/data
- ${APP_DATA_DIR}/data/postgresql:/var/lib/postgresql/data
networks:
- tipi_main_network
@ -28,11 +28,11 @@ services:
environment:
- HOST=odoodb
- USER=odoo
- PASSWORD=odoo17@2023
- PASSWORD=${ODOO_POSTGRES_PASSWORD}
volumes:
# - ./entrypoint.sh:/entrypoint.sh # if you want to install additional Python packages, uncomment this line!
- ${APP_DATA_DIR}/addons:/mnt/extra-addons
- ${APP_DATA_DIR}/etc:/etc/odoo
- ${APP_DATA_DIR}/data/addons:/mnt/extra-addons
- ${APP_DATA_DIR}/data/etc:/etc/odoo
restart: unless-stopped
networks:
- tipi_main_network