Update docker-compose.yaml

This commit is contained in:
orianelou 2025-01-13 14:20:21 +02:00 committed by GitHub
parent 87b34590d4
commit a86aca13b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +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
## ##
version: '3.9' version: '3.9'
@ -45,9 +46,9 @@ services:
ipc: service:appsec-agent ipc: service:appsec-agent
restart: unless-stopped restart: unless-stopped
ports: ports:
- '80:80' # Public HTTP Port - 80:80 # Public HTTP Port
- '443:443' # Public HTTPS Port - 443:443 # Public HTTPS Port
- '81:81' # Admin Web Port - 81:81 # Admin Web Port
volumes: volumes:
- ${NPM_DATA}:/data - ${NPM_DATA}:/data
- ${NPM_LETSENCRYPT}:/etc/letsencrypt - ${NPM_LETSENCRYPT}:/etc/letsencrypt
@ -114,15 +115,11 @@ services:
- ${APPSEC_POSTGRES_STORAGE}:/var/lib/postgresql/data - ${APPSEC_POSTGRES_STORAGE}:/var/lib/postgresql/data
## example juice-shop backend container (vulnerable webserver, USE ONLY FOR TESTING AND IN LAB ENV) ## example juice-shop backend container (vulnerable webserver, USE ONLY FOR TESTING AND IN LAB ENV)
## juiceshop-backend:
## uncomment this block for testing purposes only, make sure to also create a new proxy host in the NGINX Proxy Manager WebUI image: bkimminich/juice-shop:latest
## which accepts traffic on http port 80 and proxies traffic to juiceshop-backend on port 3000. container_name: juiceshop-backend
## note that juiceshop container listens on HTTP port 3000 by default profiles:
# - juiceshop
# juiceshop-backend:
# image: bkimminich/juice-shop:latest
# container_name: juiceshop-backend
## advanced configuration: learning_nfs volume for nfs storage in shared_storage container ## advanced configuration: learning_nfs volume for nfs storage in shared_storage container
## ##