mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Create .env
This commit is contained in:
parent
63b8bb22c2
commit
e38bb9525c
49
deployment/swag-new/.env
Normal file
49
deployment/swag-new/.env
Normal file
@ -0,0 +1,49 @@
|
||||
## .env file for docker-compose deployments of open-appsec integrated with SWAG
|
||||
## 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
|
||||
|
||||
## Most relevant SWAG parameters have been moved here as well allowing configuration via .env file
|
||||
SWAG_CONFIG=./swag-config
|
||||
SWAG_NGINX_SITE_CONFS=./swag-nginx-site-confs
|
||||
SWAG_PROXY_CONFS=./swag-proxy-confs
|
||||
SWAG_TZ=Etc/UTC
|
||||
SWAG_VALIDATION=http # configure "http" or "dns" as validation modes
|
||||
SWAG_DNSPLUGIN="" # configure e.g. "route53" or some other DNS Plugin supported by SWAG if you set "dns" above
|
||||
|
||||
## Examples parameters for "route53" DNS plugin (AWS DNS service), you can add others here as required,
|
||||
## when you do make sure to also add them to the docker compose file
|
||||
SWAG_AWS_ACCESS_KEY_ID=""
|
||||
SWAG_AWS_SECRET_ACCESS_KEY=""
|
||||
##
|
||||
|
||||
SWAG_STAGING=true
|
||||
SWAG_URL=yourdomain.url
|
||||
SWAG_SUBDOMAINS=""
|
||||
SWAG_ONLY_SUBDOMAINS=""
|
||||
## replace yourdomain.url with your own domain
|
||||
## make sure your domain's public IP resolves to
|
||||
## the docker host for Let's Encrypt cert generation to succeed
|
||||
|
||||
## 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
|
Loading…
x
Reference in New Issue
Block a user