Update docker-compose.yaml

This commit is contained in:
orianelou 2025-06-23 12:35:49 +03:00 committed by GitHub
parent c4975497eb
commit c75f1e88b7
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=APISIX - registered_server=APISIX
ipc: shareable ipc: host
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ${APPSEC_CONFIG}:/etc/cp/conf - ${APPSEC_CONFIG}:/etc/cp/conf
@ -41,7 +41,7 @@ services:
appsec-apisix: appsec-apisix:
image: ghcr.io/openappsec/apisix-attachment:${APPSEC_VERSION} image: ghcr.io/openappsec/apisix-attachment:${APPSEC_VERSION}
container_name: appsec-apisix container_name: appsec-apisix
ipc: service:appsec-agent ipc: host
restart: always restart: always
environment: environment:
- APISIX_STAND_ALONE=true - APISIX_STAND_ALONE=true
@ -69,7 +69,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: always restart: always
## 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