update
This commit is contained in:
parent
23e8c6bfcf
commit
228690b787
1
.gitignore
vendored
1
.gitignore
vendored
@ -53,6 +53,7 @@ package.json
|
|||||||
/venv/
|
/venv/
|
||||||
/deployment/backup/*.zip
|
/deployment/backup/*.zip
|
||||||
/extra-addons/
|
/extra-addons/
|
||||||
|
/data/filestore/
|
||||||
*.pyc
|
*.pyc
|
||||||
/pragtech_hotel_management_addons/
|
/pragtech_hotel_management_addons/
|
||||||
pragtech_hotel_management_addons
|
pragtech_hotel_management_addons
|
||||||
|
@ -6,8 +6,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- ${ODOO_PORT:-8069}:8069
|
- ${ODOO_PORT:-8069}:8069
|
||||||
# - "${ODOO_CHAT_PORT:-8072}:8072"
|
# - "${ODOO_CHAT_PORT:-8072}:8072"
|
||||||
entrypoint: ./entrypoint.sh
|
|
||||||
tty: true
|
tty: true
|
||||||
|
user: root
|
||||||
command: --
|
command: --
|
||||||
environment:
|
environment:
|
||||||
- HOST=${HOST:-localhost}
|
- HOST=${HOST:-localhost}
|
||||||
@ -16,6 +16,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${ODOO_ADDONS:-./addons}:/mnt/extra-addons
|
- ${ODOO_ADDONS:-./addons}:/mnt/extra-addons
|
||||||
- ${ODOO_CONFIG:-./etc}:/etc/odoo
|
- ${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
|
restart: always
|
||||||
|
|
||||||
|
@ -5,6 +5,12 @@ set -e
|
|||||||
if [ -v PASSWORD_FILE ]; then
|
if [ -v PASSWORD_FILE ]; then
|
||||||
PASSWORD="$(< $PASSWORD_FILE)"
|
PASSWORD="$(< $PASSWORD_FILE)"
|
||||||
fi
|
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
|
# 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
|
# and pass them as arguments to the odoo process if not present in the config file
|
||||||
|
@ -6,4 +6,5 @@ db_port = 5433
|
|||||||
db_user = odoo18
|
db_user = odoo18
|
||||||
db_password = smartyourlife
|
db_password = smartyourlife
|
||||||
proxy_mode = True
|
proxy_mode = True
|
||||||
|
admin_passwd = $pbkdf2-sha512$600000$EKK0di5FyLl3jvHee4.xdg$HJczTCneidP9vAwA4BQBtfdPT7ZIYhXE0FPYDY/yvxnHQON/6Ulq0GoHyKSGF6P0ARKO9PXnyKNvKAayMoW6bQ
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user