variables reaccomodation

This commit is contained in:
Yhael S
2023-10-07 05:43:40 -05:00
parent af83a19fa4
commit 48cb2c06cb
4 changed files with 54 additions and 45 deletions

View File

@@ -44,7 +44,7 @@ addons_path = ${ADDONS_PATH}
upgrade_path = ${UPGRADE_PATH}
; --load
server_wide_modules = ${SERVER_WIDE_MODULES}
server_wide_modules = ${LOAD}
; --data-dir
data_dir = ${DATA_DIR}
@@ -307,12 +307,15 @@ ODOO_SESSION_REDIS_EXPIRATION = ${ODOO_SESSION_REDIS_EXPIRATION}
; -- Time in seconds before expiration of the anonymous sessions (default is 3 hours)
ODOO_SESSION_REDIS_EXPIRATION_ANONYMOUS = ${ODOO_SESSION_REDIS_EXPIRATION_ANONYMOUS}
;--------------------------------------;
; Base Attachment Object Storage ;
;--------------------------------------;
; -- Disable Attachment Object Storage
DISABLE_ATTACHMENT_STORAGE = ${DISABLE_ATTACHMENT_STORAGE}
;----------;
; S3 ;
;----------;
; -- Disable S3 storage
DISABLE_ATTACHMENT_STORAGE = ${DISABLE_ATTACHMENT_STORAGE}
; -- Not required if using AWS S3
AWS_HOST = ${AWS_HOST}

View File

@@ -15,13 +15,3 @@ if [ ! -d "server-tools" ]; then
git clone https://github.com/odoocker/server-tools.git --depth 1 --branch ${ODOO_TAG} --single-branch --no-tags;
cp -r server-tools/sentry ${THIRD_PARTY_ADDONS}/sentry
fi
# Define the path to the manifest files
redis_manifest="${THIRD_PARTY_ADDONS}/session_redis/__manifest__.py"
s3_manifest="${THIRD_PARTY_ADDONS}/attachment_s3/__manifest__.py"
sentry_manifest="${THIRD_PARTY_ADDONS}/sentry/__manifest__.py"
# Modify the manifest files
# python3 /fix-manifest.py $redis_manifest
# python3 /fix-manifest.py $s3_manifest
# python3 /fix-manifest.py $sentry_manifest