mirror of
https://github.com/odoocker/odoocker
synced 2025-11-04 15:19:22 +01:00
integrate keydb to odoocker
This commit is contained in:
@@ -10,6 +10,7 @@ services:
|
||||
- GITHUB_USER
|
||||
- GITHUB_ACCESS_TOKEN
|
||||
- ENTERPRISE_ADDONS
|
||||
- THIRD_PARTY_ADDONS
|
||||
- LOG_PATH
|
||||
depends_on:
|
||||
- postgres
|
||||
@@ -20,6 +21,7 @@ services:
|
||||
- ./odoo/custom-addons:${CUSTOM_ADDONS}
|
||||
- ./odoo/entrypoint.sh:/entrypoint.sh
|
||||
- ./odoo/odoorc.sh:/odoorc.sh
|
||||
- ./odoo/third-party-addons.sh:/third-party-addons.sh
|
||||
env_file:
|
||||
- ./.env
|
||||
networks:
|
||||
@@ -27,12 +29,11 @@ services:
|
||||
|
||||
postgres:
|
||||
build:
|
||||
context: ./postgres
|
||||
dockerfile: Dockerfile
|
||||
context: ./
|
||||
dockerfile: ./postgres/Dockerfile
|
||||
args:
|
||||
- POSTGRES_TAG
|
||||
restart: unless-stopped
|
||||
shm_size: 1GB
|
||||
tty: true
|
||||
volumes:
|
||||
- pg-data:${PGDATA}
|
||||
@@ -42,6 +43,12 @@ services:
|
||||
- POSTGRES_USER
|
||||
- POSTGRES_PASSWORD
|
||||
- PGDATA
|
||||
- DB_USER
|
||||
- DB_TEMPLATE
|
||||
- UNACCENT_TEMPLATE
|
||||
- PGADMING_DB_NAME
|
||||
- PGADMING_DB_USER
|
||||
- PGADMIN_DB_PASSWORD
|
||||
networks:
|
||||
- internal
|
||||
|
||||
@@ -83,17 +90,16 @@ services:
|
||||
networks:
|
||||
- internal
|
||||
|
||||
keydb:
|
||||
redis:
|
||||
image: eqalpha/keydb:latest
|
||||
platform: linux/amd64
|
||||
shm_size: 1GB
|
||||
platform: linux/amd64
|
||||
ports:
|
||||
- 6379:6379
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- internal
|
||||
# command: keydb-server /etc/keydb/keydb.conf
|
||||
volumes:
|
||||
#- ./keydb.conf:/etc/keydb/keydb.conf:ro
|
||||
- cache-db-data:/var/lib/keydb
|
||||
- redis-data:/var/lib/keydb
|
||||
|
||||
volumes:
|
||||
data-dir:
|
||||
@@ -101,8 +107,7 @@ volumes:
|
||||
certs:
|
||||
vhost:
|
||||
html:
|
||||
cache-db-data:
|
||||
|
||||
redis-data:
|
||||
|
||||
networks:
|
||||
internal:
|
||||
|
||||
Reference in New Issue
Block a user