Update docker-compose.yaml

This commit is contained in:
orianelou 2025-06-23 12:42:41 +03:00 committed by GitHub
parent 938cae1270
commit eac686216b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ services:
- AGENT_TOKEN=${APPSEC_AGENT_TOKEN} - AGENT_TOKEN=${APPSEC_AGENT_TOKEN}
- autoPolicyLoad=${APPSEC_AUTO_POLICY_LOAD} - autoPolicyLoad=${APPSEC_AUTO_POLICY_LOAD}
- registered_server="NGINX" - registered_server="NGINX"
ipc: shareable ipc: host
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${APPSEC_CONFIG}:/etc/cp/conf - ${APPSEC_CONFIG}:/etc/cp/conf
@ -42,7 +42,7 @@ services:
appsec-nginx: appsec-nginx:
image: ghcr.io/openappsec/nginx-attachment:${APPSEC_VERSION} image: ghcr.io/openappsec/nginx-attachment:${APPSEC_VERSION}
container_name: appsec-nginx container_name: appsec-nginx
ipc: service:appsec-agent ipc: host
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${NGINX_CONFIG}:/etc/nginx/conf.d - ${NGINX_CONFIG}:/etc/nginx/conf.d
@ -74,7 +74,7 @@ services:
- standalone - standalone
image: ghcr.io/openappsec/smartsync-shared-files:${APPSEC_VERSION} image: ghcr.io/openappsec/smartsync-shared-files:${APPSEC_VERSION}
container_name: appsec-shared-storage container_name: appsec-shared-storage
ipc: service:appsec-agent ipc: host
restart: unless-stopped restart: unless-stopped
## if you do not want to run this container as "root" user you can comment it out and instead run the below command after the deployment ## if you do not want to run this container as "root" user you can comment it out and instead run the below command after the deployment
## docker exec -u root appsec-shared-storage chown -R appuser:appuser /db ## docker exec -u root appsec-shared-storage chown -R appuser:appuser /db