bunkerized-nginx/tests/core/db/docker-compose.test.yml

37 lines
957 B
YAML

version: "3.5"
services:
tests:
build: .
volumes:
- bw-data:/data/lib
environment:
PYTHONUNBUFFERED: "1"
DATABASE_URI: "sqlite:////var/lib/bunkerweb/db.sqlite3"
GLOBAL_API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
GLOBAL_MULTISITE: "no"
GLOBAL_HTTP_PORT: "80"
GLOBAL_USE_BUNKERNET: "no"
GLOBAL_USE_BLACKLIST: "no"
GLOBAL_USE_REVERSE_PROXY: "yes"
GLOBAL_REVERSE_PROXY_HOST: "http://app1:8080"
GLOBAL_REVERSE_PROXY_URL: "/"
GLOBAL_LOG_LEVEL: "info"
CUSTOM_CONF_MODSEC_test_custom_conf: 'SecRule REQUEST_FILENAME "@rx ^/db" "id:1,ctl:ruleRemoveByTag=attack-generic,ctl:ruleRemoveByTag=attack-protocol,nolog"'
extra_hosts:
- "bwadm.example.com:192.168.0.2"
networks:
bw-docker:
bw-services:
ipv4_address: 192.168.0.3
volumes:
bw-data:
external: true
networks:
bw-services:
external: true
bw-docker:
external: true