mirror of
https://github.com/openappsec/openappsec.git
synced 2025-11-15 17:02:15 +03:00
- Change PostgreSQL volume mount from /var/lib/postgresql/data to /var/lib/postgresql This allows PostgreSQL to manage the data directory structure internally - Add PostgreSQL version configuration variable to all docker-compose files: * POSTGRES_VERSION for deployment/nginx * APPSEC_POSTGRES_VERSION for all deployment/docker-compose variants - Update PostgreSQL image tag to use version variable (set to version 18) Changed from 'postgres' to 'postgres:' or 'postgres:' - Add PostgreSQL version variable to all .env files with default value of 18
30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
## .env file for docker-compose deployments of open-appsec integrated with NGINX
|
|
## 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=
|
|
SMART_SYNC_STORAGE=./smartsync-storage
|
|
USER_EMAIL=user@email.com
|
|
DB_PASSWORD=pass
|
|
DB_USER=postgres
|
|
DB_HOST=appsec-db
|
|
POSTGRES_VERSION=18
|
|
POSTGRES_STORAGE=./postgres-data
|
|
NGINX_CONF_DIR=./nginx-proxy-config
|
|
|
|
## 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
|