Update docker-compose.yaml

This commit is contained in:
orianelou 2025-04-01 14:24:16 +03:00 committed by GitHub
parent 37d0f1c45f
commit 2c6b6baa3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,6 +36,7 @@ services:
- ${APPSEC_DATA}:/etc/cp/data - ${APPSEC_DATA}:/etc/cp/data
- ${APPSEC_LOGS}:/var/log/nano_agent - ${APPSEC_LOGS}:/var/log/nano_agent
- ${APPSEC_LOCALCONFIG}:/ext/appsec - ${APPSEC_LOCALCONFIG}:/ext/appsec
- shm-volume:/dev/shm/check-point
command: /cp-nano-agent command: /cp-nano-agent
appsec-nginx: appsec-nginx:
@ -45,7 +46,7 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${NGINX_CONFIG}:/etc/nginx/conf.d - ${NGINX_CONFIG}:/etc/nginx/conf.d
- shm-volume:/dev/shm/check-point
## advanced configuration - volume mount for nginx.conf file: ## advanced configuration - volume mount for nginx.conf file:
## To change global instructions it's possible to also mount your own nginx.conf file by uncommenting the line below ## To change global instructions it's possible to also mount your own nginx.conf file by uncommenting the line below
## then specify a desired local folder for NGINX_CONF_FILE in the .env file. ## then specify a desired local folder for NGINX_CONF_FILE in the .env file.
@ -123,6 +124,13 @@ services:
profiles: profiles:
- juiceshop - juiceshop
volumes:
shm-volume:
driver: local
driver_opts:
type: tmpfs
device: tmpfs
## advanced configuration: learning_nfs volume for nfs storage in shared_storage container ## advanced configuration: learning_nfs volume for nfs storage in shared_storage container
## ##
## when configuring nfs storage in shared_storage container configuration above, make sure to also specify learning_nfs volume (see example below for using AWS EFS storage) ## when configuring nfs storage in shared_storage container configuration above, make sure to also specify learning_nfs volume (see example below for using AWS EFS storage)