2023-04-19 14:27:50 -05:00
|
|
|
services:
|
|
|
|
|
odoo:
|
|
|
|
|
build:
|
|
|
|
|
context: ./
|
|
|
|
|
dockerfile: ./odoo/Dockerfile
|
2023-08-25 02:08:56 -05:00
|
|
|
args:
|
2023-08-26 16:23:45 -05:00
|
|
|
- ODOO_TAG
|
2023-08-25 02:08:56 -05:00
|
|
|
- ODOO_RC
|
|
|
|
|
- ROOT_PATH
|
|
|
|
|
- GITHUB_USER
|
|
|
|
|
- GITHUB_ACCESS_TOKEN
|
|
|
|
|
- ENTERPRISE_ADDONS
|
2023-09-27 22:47:22 -05:00
|
|
|
- THIRD_PARTY_ADDONS
|
2023-08-25 02:08:56 -05:00
|
|
|
- LOG_PATH
|
2023-04-19 14:27:50 -05:00
|
|
|
depends_on:
|
|
|
|
|
- postgres
|
|
|
|
|
tty: true
|
|
|
|
|
volumes:
|
|
|
|
|
- data-dir:${DATA_DIR}
|
|
|
|
|
- ./odoo/extra-addons:${EXTRA_ADDONS}
|
|
|
|
|
- ./odoo/custom-addons:${CUSTOM_ADDONS}
|
|
|
|
|
- ./odoo/entrypoint.sh:/entrypoint.sh
|
|
|
|
|
- ./odoo/odoorc.sh:/odoorc.sh
|
2023-09-27 22:47:22 -05:00
|
|
|
- ./odoo/third-party-addons.sh:/third-party-addons.sh
|
2023-04-19 14:27:50 -05:00
|
|
|
env_file:
|
|
|
|
|
- ./.env
|
|
|
|
|
networks:
|
|
|
|
|
- internal
|
|
|
|
|
|
|
|
|
|
postgres:
|
|
|
|
|
build:
|
2023-09-27 22:47:22 -05:00
|
|
|
context: ./
|
|
|
|
|
dockerfile: ./postgres/Dockerfile
|
2023-08-26 16:23:45 -05:00
|
|
|
args:
|
|
|
|
|
- POSTGRES_TAG
|
2023-04-19 14:27:50 -05:00
|
|
|
restart: unless-stopped
|
|
|
|
|
tty: true
|
|
|
|
|
volumes:
|
|
|
|
|
- pg-data:${PGDATA}
|
|
|
|
|
- ./postgres/entrypoint.sh:/docker-entrypoint-initdb.d/entrypoint.sh
|
|
|
|
|
environment:
|
|
|
|
|
- POSTGRES_DB
|
|
|
|
|
- POSTGRES_USER
|
|
|
|
|
- POSTGRES_PASSWORD
|
|
|
|
|
- PGDATA
|
2023-09-27 22:47:22 -05:00
|
|
|
- DB_USER
|
|
|
|
|
- DB_TEMPLATE
|
|
|
|
|
- UNACCENT_TEMPLATE
|
|
|
|
|
- PGADMING_DB_NAME
|
|
|
|
|
- PGADMING_DB_USER
|
|
|
|
|
- PGADMIN_DB_PASSWORD
|
2023-04-19 14:27:50 -05:00
|
|
|
networks:
|
|
|
|
|
- internal
|
|
|
|
|
|
|
|
|
|
nginx:
|
2023-08-26 16:23:45 -05:00
|
|
|
image: nginx:${NGINX_TAG}
|
2023-04-19 14:27:50 -05:00
|
|
|
depends_on:
|
|
|
|
|
- odoo
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
tty: true
|
|
|
|
|
expose:
|
|
|
|
|
- 80/tcp
|
|
|
|
|
volumes:
|
|
|
|
|
- ./nginx/nginx.conf:${NGINX_CONF}
|
|
|
|
|
- ./nginx/default.conf:${NGINX_DEFAULT_CONF}
|
|
|
|
|
environment:
|
|
|
|
|
- VIRTUAL_HOST
|
|
|
|
|
- LETSENCRYPT_HOST
|
|
|
|
|
- LETSENCRYPT_EMAIL
|
|
|
|
|
- CORS_ALLOWED_DOMAIN
|
|
|
|
|
networks:
|
|
|
|
|
- internal
|
|
|
|
|
|
|
|
|
|
nginx-proxy:
|
2023-08-26 16:23:45 -05:00
|
|
|
image: nginxproxy/nginx-proxy:${NGINX_PROXY_TAG}
|
2023-04-19 14:27:50 -05:00
|
|
|
depends_on:
|
|
|
|
|
- nginx
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
tty: true
|
|
|
|
|
volumes:
|
|
|
|
|
- ./nginx-proxy/nginx.conf:${NGINX_CONF}
|
|
|
|
|
- ./nginx-proxy/cors.conf:${NGINX_PROXY_CORS_CONF}
|
|
|
|
|
- certs:${NGINX_CERTS}:ro
|
|
|
|
|
- vhost:${NGINX_VHOST}
|
|
|
|
|
- html:${NGINX_HTML}
|
|
|
|
|
- ${DOCKER_SOCK}:${TEMP_DOCKER_SOCK}:ro
|
|
|
|
|
environment:
|
|
|
|
|
- TRUST_DOWNSTREAM_PROXY
|
|
|
|
|
- CORS_ALLOWED_DOMAIN
|
|
|
|
|
networks:
|
|
|
|
|
- internal
|
|
|
|
|
|
2023-09-27 22:47:22 -05:00
|
|
|
redis:
|
✨ feat(.env.example): add configuration options for Redis caching in the .env.example file
✨ feat(docker-compose.yml): add keydb service for Redis caching with 1GB shared memory size
✨ feat(odoo.example.conf): add configuration options for Redis caching in the odoo.example.conf file
The changes were made to add support for Redis caching in the application. The .env.example file now includes configuration options for Redis caching, such as Redis host, port, password, URL, prefix, expiration time, and expiration time for anonymous sessions. The docker-compose.yml file now includes a keydb service with 1GB shared memory size for Redis caching. The odoo.example.conf file now includes configuration options for Redis caching, such as enabling Redis caching, Redis host, port, password, URL, prefix, expiration time, and expiration time for anonymous sessions. These changes allow the application to utilize Redis for caching, improving performance and scalability.
2023-09-04 23:54:39 +02:00
|
|
|
image: eqalpha/keydb:latest
|
2023-09-27 22:47:22 -05:00
|
|
|
platform: linux/amd64
|
|
|
|
|
ports:
|
|
|
|
|
- 6379:6379
|
✨ feat(.env.example): add configuration options for Redis caching in the .env.example file
✨ feat(docker-compose.yml): add keydb service for Redis caching with 1GB shared memory size
✨ feat(odoo.example.conf): add configuration options for Redis caching in the odoo.example.conf file
The changes were made to add support for Redis caching in the application. The .env.example file now includes configuration options for Redis caching, such as Redis host, port, password, URL, prefix, expiration time, and expiration time for anonymous sessions. The docker-compose.yml file now includes a keydb service with 1GB shared memory size for Redis caching. The odoo.example.conf file now includes configuration options for Redis caching, such as enabling Redis caching, Redis host, port, password, URL, prefix, expiration time, and expiration time for anonymous sessions. These changes allow the application to utilize Redis for caching, improving performance and scalability.
2023-09-04 23:54:39 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
|
networks:
|
|
|
|
|
- internal
|
|
|
|
|
volumes:
|
2023-09-27 22:47:22 -05:00
|
|
|
- redis-data:/var/lib/keydb
|
✨ feat(.env.example): add configuration options for Redis caching in the .env.example file
✨ feat(docker-compose.yml): add keydb service for Redis caching with 1GB shared memory size
✨ feat(odoo.example.conf): add configuration options for Redis caching in the odoo.example.conf file
The changes were made to add support for Redis caching in the application. The .env.example file now includes configuration options for Redis caching, such as Redis host, port, password, URL, prefix, expiration time, and expiration time for anonymous sessions. The docker-compose.yml file now includes a keydb service with 1GB shared memory size for Redis caching. The odoo.example.conf file now includes configuration options for Redis caching, such as enabling Redis caching, Redis host, port, password, URL, prefix, expiration time, and expiration time for anonymous sessions. These changes allow the application to utilize Redis for caching, improving performance and scalability.
2023-09-04 23:54:39 +02:00
|
|
|
|
2023-04-19 14:27:50 -05:00
|
|
|
volumes:
|
|
|
|
|
data-dir:
|
|
|
|
|
pg-data:
|
|
|
|
|
certs:
|
|
|
|
|
vhost:
|
|
|
|
|
html:
|
2023-09-27 22:47:22 -05:00
|
|
|
redis-data:
|
2023-04-19 14:27:50 -05:00
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
internal:
|
2023-08-25 02:08:56 -05:00
|
|
|
driver: bridge
|