diff --git a/deployment/APISIX/docker-compose.yaml b/deployment/APISIX/docker-compose.yaml index 0e30df0..c416d9b 100644 --- a/deployment/APISIX/docker-compose.yaml +++ b/deployment/APISIX/docker-compose.yaml @@ -40,21 +40,18 @@ services: appsec-apisix: image: ghcr.io/openappsec/apisix-attachment:${APPSEC_VERSION} -## If you want to deploy Kong Gateway Enterprise Edition comment out the line above and uncomment the following line: -# image: ghcr.io/openappsec/kong-gateway-attachment:${APPSEC_VERSION} container_name: appsec-apisix ipc: service:appsec-agent restart: always -## If you do not want to configure APISIX declaratively please comment out the following four lines and place the configfile in {APISIX_CONF_PATH}: -# environment: -# - APISIX_STAND_ALONE=true -# volumes: -# - ${APISIX_CONFIG}:/usr/local/apisix/conf/apisix.yaml:ro + environment: + - APISIX_STAND_ALONE=true + volumes: + - ${APISIX_CONFIG}:/usr/local/apisix/conf/apisix.yaml:ro ports: - - "9180:9180/tcp" - - "9080:9080/tcp" - - "9091:9091/tcp" - - "9443:9443/tcp" + - "9080:9080/tcp" # HTTP API port + - "9443:9443/tcp" # HTTPS API port + - "9180:9180/tcp" # Admin API HTTP port + - "9091:9091/tcp" # Admin API HTTPS port appsec-smartsync: profiles: @@ -116,18 +113,9 @@ services: - ${APPSEC_POSTGRES_STORAGE}:/var/lib/postgresql/data ## example juice-shop backend container (vulnerable webserver, USE ONLY FOR TESTING AND IN LAB ENV) -## -## uncomment this block for testing purposes only, make sure to also adjust the apisix.yaml file in {APISIX_CONFIG} folder -## to include route and node configuration for forwarding external traffic to the juiceshop-backend container -## (apisix listens by default for HTTP/HTTPS on port 9080/9443) -## you can use the example file available here: -## https://raw.githubusercontent.com/openappsec/openappsec/refs/heads/main/examples/juiceshop/apisix.yaml -## in the appsec-apisix service definition -## note that juiceshop container listens on HTTP port 3000 by default -# -# juiceshop-backend: -# image: bkimminich/juice-shop:latest -# container_name: juiceshop-backend + juiceshop-backend: + image: bkimminich/juice-shop:latest + container_name: juiceshop-backend ## advanced configuration: learning_nfs volume for nfs storage in shared_storage container