From 2c91793f08f733d888821b70389738756ca25f92 Mon Sep 17 00:00:00 2001 From: orianelou <126462046+orianelou@users.noreply.github.com> Date: Tue, 24 Dec 2024 11:04:38 +0200 Subject: [PATCH] Create .env --- deployment/nginx-proxy-manager/.env | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 deployment/nginx-proxy-manager/.env diff --git a/deployment/nginx-proxy-manager/.env b/deployment/nginx-proxy-manager/.env new file mode 100644 index 0000000..f20a0a1 --- /dev/null +++ b/deployment/nginx-proxy-manager/.env @@ -0,0 +1,31 @@ +## .env file for docker-compose deployments of open-appsec integrated with NGINX Proxy Manager +## for more info see https://docs.openappsec.io + +APPSEC_VERSION=latest +APPSEC_CONFIG=./appsec-config +APPSEC_DATA=./appsec-data +APPSEC_LOGS=./appsec-logs +APPSEC_LOCALCONFIG=./appsec-localconfig +APPSEC_AUTO_POLICY_LOAD=false +## Example for configuring HTTPS Proxy: +## APPSEC_HTTPS_PROXY=user:password@proxy_address:port +APPSEC_HTTPS_PROXY= +APPSEC_SMART_SYNC_STORAGE=./appsec-smartsync-storage +APPSEC_USER_EMAIL=user@email.com +APPSEC_DB_PASSWORD=pass +APPSEC_DB_USER=postgres +APPSEC_DB_HOST=appsec-db +APPSEC_POSTGRES_STORAGE=./appsec-postgres-data + +# Volume mounts for NGINX Proxy Manager have been moved here as well allowing configuration via .env file +NPM_DATA=./data +NPM_LETSENCRYPT=./letsencrypt + +## To connect your deployment to central WebUI you can uncomment following line +## and provide the token for a profile which you created in open-appsec WebUI at https://my.openappsec.io +## Example: APPSEC_AGENT_TOKEN=111-22222-111 +APPSEC_AGENT_TOKEN= + +## When not providing token for connection to central WebUI please uncomment following line +## which will enable sharing of learning between processes and allow you to perform tuning locally on CLI +# COMPOSE_PROFILES=standalone