Update docker-compose.yaml

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

View File

@ -29,7 +29,7 @@ services:
- user_email=${APPSEC_USER_EMAIL} - user_email=${APPSEC_USER_EMAIL}
- AGENT_TOKEN=${APPSEC_AGENT_TOKEN} - AGENT_TOKEN=${APPSEC_AGENT_TOKEN}
- autoPolicyLoad=${APPSEC_AUTO_POLICY_LOAD} - autoPolicyLoad=${APPSEC_AUTO_POLICY_LOAD}
ipc: shareable ipc: host
volumes: volumes:
- ${APPSEC_CONFIG}:/etc/cp/conf - ${APPSEC_CONFIG}:/etc/cp/conf
- ${APPSEC_DATA}:/etc/cp/data - ${APPSEC_DATA}:/etc/cp/data
@ -62,7 +62,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-nginx-unified 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