mirror of
https://github.com/odoocker/odoocker
synced 2025-11-04 23:29:19 +01:00
Merge pull request #17 from codeagencybe/shm_size
Fabio | Enhancement | Configure shm_size
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
odoo:
|
odoo:
|
||||||
|
container_name: odoo
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./odoo/Dockerfile
|
dockerfile: ./odoo/Dockerfile
|
||||||
@@ -18,6 +19,7 @@ services:
|
|||||||
- USE_S3
|
- USE_S3
|
||||||
- USE_SENTRY
|
- USE_SENTRY
|
||||||
tty: true
|
tty: true
|
||||||
|
shm_size: 1gb
|
||||||
volumes:
|
volumes:
|
||||||
- odoo-data:${DATA_DIR}
|
- odoo-data:${DATA_DIR}
|
||||||
- ./odoo/extra-addons:${EXTRA_ADDONS}
|
- ./odoo/extra-addons:${EXTRA_ADDONS}
|
||||||
@@ -55,12 +57,14 @@ services:
|
|||||||
profiles: [$ODOO_PROFILES]
|
profiles: [$ODOO_PROFILES]
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
|
container_name: postgres
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./postgres/Dockerfile
|
dockerfile: ./postgres/Dockerfile
|
||||||
args:
|
args:
|
||||||
- POSTGRES_TAG
|
- POSTGRES_TAG
|
||||||
tty: true
|
tty: true
|
||||||
|
shm_size: 1gb
|
||||||
volumes:
|
volumes:
|
||||||
- pg-data:${PGDATA}
|
- pg-data:${PGDATA}
|
||||||
- ./postgres/entrypoint.sh:/docker-entrypoint-initdb.d/entrypoint.sh
|
- ./postgres/entrypoint.sh:/docker-entrypoint-initdb.d/entrypoint.sh
|
||||||
@@ -80,12 +84,14 @@ services:
|
|||||||
profiles: [$POSTGRES_PROFILES]
|
profiles: [$POSTGRES_PROFILES]
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
|
container_name: nginx
|
||||||
image: nginx:${NGINX_TAG}
|
image: nginx:${NGINX_TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
- odoo
|
- odoo
|
||||||
tty: true
|
tty: true
|
||||||
expose:
|
expose:
|
||||||
- 80/tcp
|
- 80/tcp
|
||||||
|
shm_size: 1gb
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/nginx.conf:${NGINX_CONF}
|
- ./nginx/nginx.conf:${NGINX_CONF}
|
||||||
- ./nginx/default.conf:${NGINX_DEFAULT_CONF}
|
- ./nginx/default.conf:${NGINX_DEFAULT_CONF}
|
||||||
@@ -99,10 +105,12 @@ services:
|
|||||||
profiles: [$NGINX_PROFILES]
|
profiles: [$NGINX_PROFILES]
|
||||||
|
|
||||||
nginx-proxy:
|
nginx-proxy:
|
||||||
|
container_name: nginx-proxy
|
||||||
image: nginxproxy/nginx-proxy:${NGINX_PROXY_TAG}
|
image: nginxproxy/nginx-proxy:${NGINX_PROXY_TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
- nginx
|
- nginx
|
||||||
tty: true
|
tty: true
|
||||||
|
shm_size: 1gb
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx-proxy/nginx.conf:${NGINX_CONF}
|
- ./nginx-proxy/nginx.conf:${NGINX_CONF}
|
||||||
- ./nginx-proxy/cors.conf:${NGINX_PROXY_CORS_CONF}
|
- ./nginx-proxy/cors.conf:${NGINX_PROXY_CORS_CONF}
|
||||||
@@ -132,6 +140,7 @@ services:
|
|||||||
- --accesslog.filepath=${ACCESSLOG_FILEPATH}
|
- --accesslog.filepath=${ACCESSLOG_FILEPATH}
|
||||||
- --serversTransport.insecureSkipVerify=${INSERCURE_SKIP_VERIFY}
|
- --serversTransport.insecureSkipVerify=${INSERCURE_SKIP_VERIFY}
|
||||||
tty: true
|
tty: true
|
||||||
|
shm_size: 1gb
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_SOCK}:${DOCKER_SOCK}:ro
|
- ${DOCKER_SOCK}:${DOCKER_SOCK}:ro
|
||||||
- ./acme.json:${ACME_JSON}
|
- ./acme.json:${ACME_JSON}
|
||||||
@@ -146,7 +155,8 @@ services:
|
|||||||
- traefik.http.routers.traefik-dashboard.service=${TRAEFIK_DASHBOARD_SERVICE}
|
- traefik.http.routers.traefik-dashboard.service=${TRAEFIK_DASHBOARD_SERVICE}
|
||||||
profiles: [$TRAEFIK_PROFILES]
|
profiles: [$TRAEFIK_PROFILES]
|
||||||
|
|
||||||
letsencrypt:
|
acme-companion:
|
||||||
|
container_name: acme-companion
|
||||||
image: nginxproxy/acme-companion:${ACME_COMPANION_TAG}
|
image: nginxproxy/acme-companion:${ACME_COMPANION_TAG}
|
||||||
depends_on:
|
depends_on:
|
||||||
- nginx-proxy
|
- nginx-proxy
|
||||||
@@ -164,7 +174,8 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
profiles: [$ACME_COMPANION_PROFILES]
|
profiles: [$ACME_COMPANION_PROFILES]
|
||||||
|
|
||||||
redis:
|
keydb:
|
||||||
|
container_name: keydb
|
||||||
image: eqalpha/keydb:${KEYDB_TAG}
|
image: eqalpha/keydb:${KEYDB_TAG}
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
ports:
|
ports:
|
||||||
@@ -175,7 +186,8 @@ services:
|
|||||||
- internal
|
- internal
|
||||||
profiles: [$KEYDB_PROFILES]
|
profiles: [$KEYDB_PROFILES]
|
||||||
|
|
||||||
s3:
|
minio:
|
||||||
|
container_name: minio
|
||||||
image: minio/minio:${MINIO_TAG}
|
image: minio/minio:${MINIO_TAG}
|
||||||
environment:
|
environment:
|
||||||
- MINIO_ROOT_USER
|
- MINIO_ROOT_USER
|
||||||
@@ -184,6 +196,7 @@ services:
|
|||||||
- VIRTUAL_HOST=${MINIO_VIRTUAL_HOST}
|
- VIRTUAL_HOST=${MINIO_VIRTUAL_HOST}
|
||||||
- VIRTUAL_PORT=${MINIO_CONSOLE_PORT}
|
- VIRTUAL_PORT=${MINIO_CONSOLE_PORT}
|
||||||
command: server ${MINIO_DATA} --console-address ":${MINIO_CONSOLE_PORT}"
|
command: server ${MINIO_DATA} --console-address ":${MINIO_CONSOLE_PORT}"
|
||||||
|
shm_size: 1gb
|
||||||
volumes:
|
volumes:
|
||||||
- s3-data:${MINIO_DATA}
|
- s3-data:${MINIO_DATA}
|
||||||
ports:
|
ports:
|
||||||
@@ -194,6 +207,7 @@ services:
|
|||||||
profiles: [$MINIO_PROFILES]
|
profiles: [$MINIO_PROFILES]
|
||||||
|
|
||||||
pgadmin:
|
pgadmin:
|
||||||
|
container_name: pgadmin
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: ./pgadmin/Dockerfile
|
dockerfile: ./pgadmin/Dockerfile
|
||||||
@@ -203,6 +217,7 @@ services:
|
|||||||
- nginx-proxy
|
- nginx-proxy
|
||||||
expose:
|
expose:
|
||||||
- 80
|
- 80
|
||||||
|
shm_size: 1gb
|
||||||
volumes:
|
volumes:
|
||||||
- pgadmin-data:${PGADMIN_DATA}
|
- pgadmin-data:${PGADMIN_DATA}
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user