-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update UI iso-prod files to incorporate the syslog container to be ab…
…le to see the logs in the web UI
- Loading branch information
1 parent
8fa0b02
commit 06848c2
Showing
8 changed files
with
338 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
x-env: &env | ||
DATABASE_URI: "mariadb+pymysql://bunkerweb:secret@bw-db:3306/db" | ||
DOCKER_HOST: "tcp://bw-docker:2375" | ||
LOG_LEVEL: "debug" | ||
|
||
services: | ||
bunkerweb: | ||
image: bunkerity/bunkerweb:1.5.9 | ||
ports: | ||
- 80:8080/tcp | ||
- 443:8443/tcp | ||
- 443:8443/udp | ||
labels: | ||
- "bunkerweb.INSTANCE=yes" | ||
environment: | ||
- SERVER_NAME=www.example.com app1.example.com | ||
- MULTISITE=yes | ||
- API_WHITELIST_IP=127.0.0.0/24 10.20.30.0/24 | ||
- USE_BUNKERNET=no | ||
- USE_BLACKLIST=no | ||
- USE_WHITELIST=no | ||
- SEND_ANONYMOUS_REPORT=no | ||
- LOG_LEVEL=info | ||
- SERVE_FILES=no | ||
- DISABLE_DEFAULT_SERVER=yes | ||
- USE_CLIENT_CACHE=yes | ||
- USE_GZIP=yes | ||
- EXTERNAL_PLUGIN_URLS=https://github.com/bunkerity/bunkerweb-plugins/archive/refs/heads/dev.zip | ||
- CUSTOM_CONF_MODSEC_CRS_reqbody-suppress=SecRuleRemoveById 200002 | ||
- www.example.com_USE_UI=yes | ||
- www.example.com_USE_REVERSE_PROXY=yes | ||
- www.example.com_REVERSE_PROXY_URL=/admin | ||
- www.example.com_REVERSE_PROXY_HOST=http://bw-ui:7000 | ||
- www.example.com_INTERCEPTED_ERROR_CODES=400 404 405 413 429 500 501 502 503 504 | ||
- www.example.com_GENERATE_SELF_SIGNED_SSL=yes | ||
- www.example.com_CUSTOM_CONF_MODSEC_CRS_ip-host=SecRuleRemoveById 920350 | ||
- app1.example.com_USE_REVERSE_PROXY=yes | ||
- app1.example.com_REVERSE_PROXY_URL=/ | ||
- app1.example.com_REVERSE_PROXY_HOST=http://app1:8080 | ||
restart: "unless-stopped" | ||
networks: | ||
bw-universe: | ||
aliases: | ||
- bunkerweb | ||
bw-services: | ||
aliases: | ||
- bunkerweb | ||
|
||
bw-scheduler: | ||
image: bunkerity/bunkerweb-scheduler:1.5.9 | ||
depends_on: | ||
- bunkerweb | ||
- bw-docker | ||
volumes: | ||
- bw-data:/data | ||
- ./configs/server-http/hello.conf:/data/configs/server-http/hello.conf:ro | ||
environment: | ||
<<: *env | ||
restart: "unless-stopped" | ||
networks: | ||
bw-universe: | ||
aliases: | ||
- bw-scheduler | ||
bw-docker: | ||
aliases: | ||
- bw-scheduler | ||
|
||
bw-docker: | ||
image: tecnativa/docker-socket-proxy:nightly | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock:ro | ||
environment: | ||
- CONTAINERS=1 | ||
- LOG_LEVEL=warning | ||
restart: "unless-stopped" | ||
networks: | ||
bw-docker: | ||
aliases: | ||
- bw-docker | ||
|
||
bw-ui: | ||
image: bunkerity/bunkerweb-ui:1.5.9 | ||
depends_on: | ||
- bw-docker | ||
environment: | ||
<<: *env | ||
ADMIN_USERNAME: "admin" | ||
ADMIN_PASSWORD: "P@ssw0rd" | ||
DEBUG: "1" | ||
restart: "unless-stopped" | ||
networks: | ||
bw-universe: | ||
aliases: | ||
- bw-ui | ||
bw-docker: | ||
aliases: | ||
- bw-ui | ||
|
||
bw-db: | ||
image: mariadb:11 | ||
environment: | ||
- MYSQL_RANDOM_ROOT_PASSWORD=yes | ||
- MYSQL_DATABASE=db | ||
- MYSQL_USER=bunkerweb | ||
- MYSQL_PASSWORD=secret | ||
volumes: | ||
- bw-db:/var/lib/mysql | ||
restart: "unless-stopped" | ||
networks: | ||
bw-docker: | ||
aliases: | ||
- bw-db | ||
|
||
app1: | ||
image: nginxdemos/nginx-hello | ||
restart: "unless-stopped" | ||
networks: | ||
bw-services: | ||
aliases: | ||
- app1 | ||
|
||
volumes: | ||
bw-data: | ||
bw-db: | ||
|
||
networks: | ||
bw-universe: | ||
name: bw-universe | ||
ipam: | ||
driver: default | ||
config: | ||
- subnet: 10.20.30.0/24 | ||
bw-services: | ||
name: bw-services | ||
bw-docker: | ||
name: bw-docker |
Oops, something went wrong.