mirror of
				https://github.com/odoocker/odoocker
				synced 2025-11-04 07:19:15 +01:00 
			
		
		
		
	fixed build
This commit is contained in:
		@@ -1,6 +1,22 @@
 | 
			
		||||
services:
 | 
			
		||||
  
 | 
			
		||||
  odoo:
 | 
			
		||||
    restart: 'no'
 | 
			
		||||
    ports:
 | 
			
		||||
      - 127.0.0.1:8069:8069
 | 
			
		||||
      - 127.0.0.1:8070:8070
 | 
			
		||||
      - 127.0.0.1:8071:8071
 | 
			
		||||
      - 127.0.0.1:8072:8072
 | 
			
		||||
 | 
			
		||||
volumes:
 | 
			
		||||
  acme:
 | 
			
		||||
  certs:
 | 
			
		||||
  postgres:
 | 
			
		||||
    restart: 'no'
 | 
			
		||||
    ports:
 | 
			
		||||
      - 127.0.0.1:5432:5432
 | 
			
		||||
 | 
			
		||||
  nginx:
 | 
			
		||||
    restart: 'no'
 | 
			
		||||
 | 
			
		||||
  nginx-proxy:
 | 
			
		||||
    restart: 'no'
 | 
			
		||||
    ports:
 | 
			
		||||
      - 80:80
 | 
			
		||||
      - 443:443
 | 
			
		||||
 
 | 
			
		||||
@@ -14,19 +14,18 @@ while IFS='=' read -r key value || [[ -n $key ]]; do
 | 
			
		||||
    eval "$key=\"$value\""
 | 
			
		||||
done < .env
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Check the USE_REDIS variable to decide whether to copy Redis directories
 | 
			
		||||
# Check the USE_REDIS to add base_attachment_object_storage & session_redis to LOAD variable
 | 
			
		||||
if [[ $USE_REDIS == "true" ]]; then
 | 
			
		||||
    LOAD+=",base_attachment_object_storage"
 | 
			
		||||
    LOAD+=",session_redis"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Check the USE_S3 variable to decide whether to copy S3 directories
 | 
			
		||||
# Check the USE_REDIS to add attachment_s3 to LOAD variable
 | 
			
		||||
if [[ $USE_S3 == "true" ]]; then
 | 
			
		||||
    LOAD+=",attachment_s3"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Check if the repository directory exists and Sentry is to be used
 | 
			
		||||
# Check the USE_REDIS to add sentry to LOAD variable
 | 
			
		||||
if [[ $USE_SENTRY == "true" ]]; then
 | 
			
		||||
    LOAD+=",sentry"
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
@@ -20,18 +20,18 @@ while IFS='=' read -r key value || [[ -n $key ]]; do
 | 
			
		||||
    export "$key=$value"
 | 
			
		||||
done < .env
 | 
			
		||||
 | 
			
		||||
# Check the USE_REDIS variable to decide whether to copy Redis directories
 | 
			
		||||
# Check the USE_REDIS to add base_attachment_object_storage & session_redis to LOAD variable
 | 
			
		||||
if [[ $USE_REDIS == "true" ]]; then
 | 
			
		||||
    LOAD+=",base_attachment_object_storage"
 | 
			
		||||
    LOAD+=",session_redis"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Check the USE_S3 variable to decide whether to copy S3 directories
 | 
			
		||||
# Check the USE_REDIS to add attachment_s3 to LOAD variable
 | 
			
		||||
if [[ $USE_S3 == "true" ]]; then
 | 
			
		||||
    LOAD+=",base_attachment_object_storage"
 | 
			
		||||
    LOAD+=",attachment_s3"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Check if the repository directory exists and Sentry is to be used
 | 
			
		||||
# Check the USE_REDIS to add sentry to LOAD variable
 | 
			
		||||
if [[ $USE_SENTRY == "true" ]]; then
 | 
			
		||||
    LOAD+=",sentry"
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user