Update docker-compose.yaml

This commit is contained in:
orianelou 2025-02-09 15:41:55 +02:00 committed by GitHub
parent f5b9c93fbe
commit 8f05508e02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@
## ##
## Docker compose file for open-appsec integrated with NGINX Proxy Manager ## Docker compose file for open-appsec integrated with NGINX Proxy Manager
## with open-appsec management via NGINX Proxy Manager WebUI ## with open-appsec management via central open-appsec WebUI (SaaS)
## ##
version: '3.9' version: '3.9'
@ -22,8 +22,7 @@ services:
appsec-agent: appsec-agent:
image: ghcr.io/openappsec/agent:${APPSEC_VERSION} image: ghcr.io/openappsec/agent:${APPSEC_VERSION}
container_name: appsec-agent container_name: appsec-agent
ipc: service:appsec-nginx-proxy-manager ipc: shareable
network_mode: service:appsec-nginx-proxy-manager
restart: unless-stopped restart: unless-stopped
environment: environment:
- SHARED_STORAGE_HOST=appsec-shared-storage - SHARED_STORAGE_HOST=appsec-shared-storage
@ -43,8 +42,8 @@ services:
appsec-nginx-proxy-manager: appsec-nginx-proxy-manager:
container_name: appsec-nginx-proxy-manager container_name: appsec-nginx-proxy-manager
image: ghcr.io/openappsec/nginx-proxy-manager-attachment:${APPSEC_VERSION} image: ghcr.io/openappsec/nginx-proxy-manager-centrally-managed-attachment:${APPSEC_VERSION}
ipc: shareable ipc: service:appsec-agent
restart: unless-stopped restart: unless-stopped
ports: ports:
- 80:80 # Public HTTP Port - 80:80 # Public HTTP Port
@ -53,8 +52,6 @@ services:
volumes: volumes:
- ${NPM_DATA}:/data - ${NPM_DATA}:/data
- ${NPM_LETSENCRYPT}:/etc/letsencrypt - ${NPM_LETSENCRYPT}:/etc/letsencrypt
- ${APPSEC_LOGS}:/ext/appsec-logs
- ${APPSEC_LOCALCONFIG}:/ext/appsec
appsec-smartsync: appsec-smartsync:
profiles: profiles: