mirror of
https://github.com/odoocker/odoocker
synced 2025-11-04 15:19:22 +01:00
Add shm_size configuration to services
This commit is contained in:
@@ -18,6 +18,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}
|
||||||
@@ -61,6 +62,7 @@ services:
|
|||||||
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
|
||||||
@@ -86,6 +88,7 @@ services:
|
|||||||
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}
|
||||||
@@ -103,6 +106,7 @@ services:
|
|||||||
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}
|
||||||
@@ -138,6 +142,7 @@ services:
|
|||||||
# - --certificatesresolvers.leresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory
|
# - --certificatesresolvers.leresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory
|
||||||
- --serversTransport.insecureSkipVerify=true
|
- --serversTransport.insecureSkipVerify=true
|
||||||
tty: true
|
tty: true
|
||||||
|
shm_size: 1gb
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
- "./acme.json:/acme.json"
|
- "./acme.json:/acme.json"
|
||||||
@@ -197,6 +202,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:
|
||||||
@@ -216,6 +222,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