This commit is contained in:
KaySar12 2025-03-28 16:40:10 +07:00
parent 23e8c6bfcf
commit 228690b787
4 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View File

@ -53,6 +53,7 @@ package.json
/venv/
/deployment/backup/*.zip
/extra-addons/
/data/filestore/
*.pyc
/pragtech_hotel_management_addons/
pragtech_hotel_management_addons

View File

@ -6,8 +6,8 @@ services:
ports:
- ${ODOO_PORT:-8069}:8069
# - "${ODOO_CHAT_PORT:-8072}:8072"
entrypoint: ./entrypoint.sh
tty: true
user: root
command: --
environment:
- HOST=${HOST:-localhost}
@ -16,6 +16,8 @@ services:
volumes:
- ${ODOO_ADDONS:-./addons}:/mnt/extra-addons
- ${ODOO_CONFIG:-./etc}:/etc/odoo
- ${ODOO_BACKUP:-./backup}:/var/lib/odoo/backup
- ${ODOO_FILESTORE:-./data/filestore}:/var/lib/odoo/filestore
- ./entrypoint.sh:/entrypoint.sh
restart: always

View File

@ -5,6 +5,12 @@ set -e
if [ -v PASSWORD_FILE ]; then
PASSWORD="$(< $PASSWORD_FILE)"
fi
# if ! command -v soffice --version >/dev/null 2>&1; then
# apt update
# apt install -y libreoffice
# else
# echo 'libreoffice already installed'
# fi
# set the postgres database host, port, user and password according to the environment
# and pass them as arguments to the odoo process if not present in the config file

View File

@ -6,4 +6,5 @@ db_port = 5433
db_user = odoo18
db_password = smartyourlife
proxy_mode = True
admin_passwd = $pbkdf2-sha512$600000$EKK0di5FyLl3jvHee4.xdg$HJczTCneidP9vAwA4BQBtfdPT7ZIYhXE0FPYDY/yvxnHQON/6Ulq0GoHyKSGF6P0ARKO9PXnyKNvKAayMoW6bQ