mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Fix compatibility issue with Docker Compose v2 2.23.0 in examples and docs
This commit is contained in:
parent
72d856abe1
commit
8ec9a7df40
93 changed files with 102 additions and 102 deletions
|
@ -69,7 +69,7 @@ services:
|
|||
mybunker:
|
||||
image: bunkerity/bunkerweb:1.5.3
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- MY_SETTING=value
|
||||
- ANOTHER_SETTING=another value
|
||||
|
@ -257,7 +257,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- API_WHITELIST_IP=127.0.0.0/8 10.20.30.0/24
|
||||
|
@ -340,7 +340,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db
|
||||
|
@ -502,7 +502,7 @@ services:
|
|||
constraints:
|
||||
- "node.role == worker"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
|
||||
bw-autoconf:
|
||||
image: bunkerity/bunkerweb-autoconf:1.5.3
|
||||
|
|
|
@ -40,7 +40,7 @@ You will find more settings about reverse proxy in the [settings section](settin
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- API_WHITELIST_IP=127.0.0.0/8 10.20.30.0/24
|
||||
|
@ -391,7 +391,7 @@ You will find more settings about reverse proxy in the [settings section](settin
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- API_WHITELIST_IP=127.0.0.0/8 10.20.30.0/24
|
||||
- MULTISITE=yes
|
||||
|
@ -1156,7 +1156,7 @@ For complete list of settings regarding `stream` mode, please refer to the [sett
|
|||
- 10000:10000 # app1
|
||||
- 20000:20000 # app2
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=app1.example.com app2.example.com
|
||||
- API_WHITELIST_IP=127.0.0.0/8 10.20.30.0/24
|
||||
|
@ -1820,7 +1820,7 @@ BunkerWeb supports PHP using external or remote [PHP-FPM](https://www.php.net/ma
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=app1.example.com app2.example.com
|
||||
- MULTISITE=yes
|
||||
|
@ -1918,7 +1918,7 @@ BunkerWeb supports PHP using external or remote [PHP-FPM](https://www.php.net/ma
|
|||
volumes:
|
||||
- ./www:/var/www/html
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- MULTISITE=yes
|
||||
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db # Remember to set a stronger password for the database
|
||||
|
|
|
@ -74,7 +74,7 @@ Because the web UI is a web application, the recommended installation procedure
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- MULTISITE=yes
|
||||
|
@ -194,7 +194,7 @@ Because the web UI is a web application, the recommended installation procedure
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db
|
||||
|
@ -351,7 +351,7 @@ Because the web UI is a web application, the recommended installation procedure
|
|||
constraints:
|
||||
- "node.role == worker"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
|
||||
bw-autoconf:
|
||||
image: bunkerity/bunkerweb-autoconf:1.5.3
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -17,7 +17,7 @@ services:
|
|||
- USE_REAL_IP=yes
|
||||
- REAL_IP_FROM=10.10.10.0/24
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- net-proxy
|
||||
- bw-universe
|
||||
|
|
|
@ -42,7 +42,7 @@ services:
|
|||
- REVERSE_PROXY_URL=/
|
||||
- REVERSE_PROXY_HOST=http://10.7.7.253:8080
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
# You have to put this IP address in your docker-compose.yml file
|
||||
networks:
|
||||
bbb-net:
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
- app3.example.com_REVERSE_PROXY_URL=/
|
||||
- app3.example.com_REVERSE_PROXY_HOST=http://app3
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
- app3.example.com_REVERSE_PROXY_URL=/
|
||||
- app3.example.com_REVERSE_PROXY_HOST=http://app3
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
- app3.example.com_REVERSE_PROXY_URL=/
|
||||
- app3.example.com_REVERSE_PROXY_HOST=http://app3
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
- app3.example.com_REVERSE_PROXY_URL=/
|
||||
- app3.example.com_REVERSE_PROXY_HOST=http://app3
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
- app3.example.com_REVERSE_PROXY_URL=/
|
||||
- app3.example.com_REVERSE_PROXY_HOST=http://app3
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -32,7 +32,7 @@ services:
|
|||
- app3.example.com_REMOTE_PHP=myapp3
|
||||
- app3.example.com_REMOTE_PHP_PATH=/app
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -47,7 +47,7 @@ services:
|
|||
}
|
||||
}
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -22,7 +22,7 @@ services:
|
|||
LIMIT_REQ_URL_1: "/core/install.php"
|
||||
LIMIT_REQ_RATE_1: "5r/s"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -18,7 +18,7 @@ services:
|
|||
- REVERSE_PROXY_URL=/
|
||||
- REVERSE_PROXY_HOST=http://myghost:2368
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -22,7 +22,7 @@ services:
|
|||
- |
|
||||
CUSTOM_CONF_MODSEC_CRS_gogs=SecAction "id:900220,phase:1,nolog,pass,t:none,setvar:'tx.allowed_request_content_type=|application/x-www-form-urlencoded| |multipart/form-data| |multipart/related| |text/xml| |application/xml| |application/soap+xml| |application/x-amf| |application/json| |application/cloudevents+json| |application/cloudevents-batch+json| |application/octet-stream| |application/csp-report| |application/xss-auditor-report| |text/plain| |application/x-git-upload-pack-request| |application/x-git-receive-pack-request|'"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -33,7 +33,7 @@ services:
|
|||
- REVERSE_PROXY_HOST=http://myapp
|
||||
- REMOTE_PHP_PATH=/app
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -22,7 +22,7 @@ services:
|
|||
LIMIT_REQ_URL_2: "/installation/index.php"
|
||||
LIMIT_REQ_RATE_2: "8r/s"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -25,7 +25,7 @@ services:
|
|||
server app3:80;
|
||||
}
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -23,7 +23,7 @@ services:
|
|||
proxy_buffers 4 512k;
|
||||
proxy_buffer_size 256k;
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -38,7 +38,7 @@ services:
|
|||
- LIMIT_REQ_URL_3=^/static/
|
||||
- LIMIT_REQ_RATE_3=10r/s
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -21,7 +21,7 @@ services:
|
|||
CUSTOM_CONF_MODSEC_mongo-express=
|
||||
SecRule REQUEST_FILENAME "@rx ^/db" "id:1,ctl:ruleRemoveByTag=attack-generic,ctl:ruleRemoveByTag=attack-protocol,nolog"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -19,7 +19,7 @@ services:
|
|||
- REVERSE_PROXY_URL=/
|
||||
- REVERSE_PROXY_HOST=https://mymoodle:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -48,7 +48,7 @@ services:
|
|||
CUSTOM_CONF_MODSEC_nextcloud=
|
||||
SecRule REQUEST_FILENAME "@rx ^/remote.php/dav/files/" "id:2000,ctl:ruleRemoveByTag=attack-protocol,ctl:ruleRemoveByTag=attack-generic,nolog"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -20,7 +20,7 @@ services:
|
|||
- REVERSE_PROXY_URL=/
|
||||
- REVERSE_PROXY_HOST=https://mypassbolt
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -25,7 +25,7 @@ services:
|
|||
- REMOTE_PHP=myphp
|
||||
- REMOTE_PHP_PATH=/app
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
- app2.example.com_REMOTE_PHP=myapp2
|
||||
- app2.example.com_REMOTE_PHP_PATH=/app
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- net-app1
|
||||
|
|
|
@ -24,7 +24,7 @@ services:
|
|||
- REMOTE_PHP=myphp
|
||||
- REMOTE_PHP_PATH=/app
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -22,7 +22,7 @@ services:
|
|||
LIMIT_REQ_URL_1: "/install/index.php"
|
||||
LIMIT_REQ_RATE_1: "8r/s"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -20,7 +20,7 @@ services:
|
|||
- REAL_IP_FROM=10.10.10.0/24
|
||||
- REAL_IP_HEADER=proxy_protocol
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- net-proxy
|
||||
- bw-universe
|
||||
|
|
|
@ -28,7 +28,7 @@ services:
|
|||
- LIMIT_REQ_URL_1=^/api/
|
||||
- LIMIT_REQ_RATE_1=10r/s
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -18,7 +18,7 @@ services:
|
|||
- REVERSE_PROXY_URL=/
|
||||
- REVERSE_PROXY_HOST=http://myredmine:3000
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -21,7 +21,7 @@ services:
|
|||
- app2.example.com_REVERSE_PROXY_URL=/
|
||||
- app2.example.com_REVERSE_PROXY_HOST=http://app2
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -26,7 +26,7 @@ services:
|
|||
rewrite ^(.*)$$ $$1/ permanent;
|
||||
}
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -19,7 +19,7 @@ services:
|
|||
- REVERSE_PROXY_HOST=http://myws:8010/
|
||||
- REVERSE_PROXY_WS=yes
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
- app2.example.com_LISTEN_STREAM_PORT=20000
|
||||
- app2.example.com_LISTEN_STREAM_PORT_SSL=20001
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -23,7 +23,7 @@ services:
|
|||
- REVERSE_PROXY_URL=/
|
||||
- REVERSE_PROXY_HOST=http://myapp
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-services
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ services:
|
|||
- REVERSE_PROXY_URL=/
|
||||
- REVERSE_PROXY_HOST=http://mytomcat:8080/sample/
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -28,7 +28,7 @@ services:
|
|||
- REVERSE_PROXY_URL=/
|
||||
- REVERSE_PROXY_HOST=http://myapp
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -21,7 +21,7 @@ services:
|
|||
- 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
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -19,7 +19,7 @@ services:
|
|||
REVERSE_PROXY_HOST: "http://mywp"
|
||||
CUSTOM_CONF_MODSEC_CRS_wordpress: 'SecAction "id:900130,phase:1,nolog,pass,t:none,setvar:tx.crs_exclusions_wordpress=1"'
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE" # required for the scheduler to recognize the container
|
||||
- "bunkerweb.INSTANCE=yes" # required for the scheduler to recognize the container
|
||||
networks:
|
||||
- bw-universe
|
||||
- bw-services
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- DATABASE_URI=mysql+pymysql://bunkerweb:changeme@bw-db:3306/db
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- DATABASE_URI=mysql+pymysql://bunkerweb:changeme@bw-db:3306/db
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- DATABASE_URI=postgresql://bunkerweb:changeme@bw-db:5432/db
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- DATABASE_URI=postgresql://bunkerweb:changeme@bw-db:5432/db
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- AUTOCONF_MODE=yes
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=
|
||||
- AUTOCONF_MODE=yes
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- MULTISITE=yes
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db # Remember to set a stronger password for the database
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- MULTISITE=yes
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- DATABASE_URI=mysql+pymysql://bunkerweb:changeme@bw-db:3306/db # Remember to set a stronger password for the database
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- MULTISITE=yes
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- DATABASE_URI=postgresql://bunkerweb:changeme@bw-db:5432/db # Remember to set a stronger password for the database
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- MULTISITE=yes
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
- 80:8080
|
||||
- 443:8443
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
- SERVER_NAME=www.example.com
|
||||
- API_WHITELIST_IP=127.0.0.0/8 10.20.30.0/24
|
||||
|
|
|
@ -29,7 +29,7 @@ services:
|
|||
constraints:
|
||||
- "node.role == worker"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
|
||||
bw-autoconf:
|
||||
image: bunkerity/bunkerweb-autoconf:1.5.3
|
||||
|
|
|
@ -29,7 +29,7 @@ services:
|
|||
constraints:
|
||||
- "node.role == worker"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
|
||||
bw-autoconf:
|
||||
image: bunkerity/bunkerweb-autoconf:1.5.3
|
||||
|
|
|
@ -29,7 +29,7 @@ services:
|
|||
constraints:
|
||||
- "node.role == worker"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
|
||||
bw-autoconf:
|
||||
image: bunkerity/bunkerweb-autoconf:1.5.3
|
||||
|
|
|
@ -29,7 +29,7 @@ services:
|
|||
constraints:
|
||||
- "node.role == worker"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
|
||||
bw-autoconf:
|
||||
image: bunkerity/bunkerweb-autoconf:1.5.3
|
||||
|
|
|
@ -29,7 +29,7 @@ services:
|
|||
constraints:
|
||||
- "node.role == worker"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
|
||||
bw-autoconf:
|
||||
image: bunkerity/bunkerweb-autoconf:1.5.3
|
||||
|
|
|
@ -29,7 +29,7 @@ services:
|
|||
constraints:
|
||||
- "node.role == worker"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
|
||||
bw-autoconf:
|
||||
image: bunkerity/bunkerweb-autoconf:1.5.3
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
|
||||
HTTP_PORT: "80"
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
|
||||
HTTP_PORT: "80"
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
|
||||
HTTP_PORT: "80"
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
depends_on:
|
||||
- bw-redis
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
|
||||
USE_BUNKERNET: "no"
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./image.png:/var/www/html/image.png
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./www:/var/www/html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
SERVER_NAME: "bwadm.example.com"
|
||||
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./403.html:/var/www/html/errors/403.html
|
||||
- ./index.html:/var/www/html/index.html
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
environment:
|
||||
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24"
|
||||
HTTP_PORT: "80"
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./www:/var/www/html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
depends_on:
|
||||
- bw-redis
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
image: bunkerity/bunkerweb:1.5.3
|
||||
pull_policy: never
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
volumes:
|
||||
- ./index.html:/var/www/html/index.html
|
||||
environment:
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
www.example.com_REVERSE_PROXY_KEEPALIVE: "yes"
|
||||
www.example.com_INTERCEPTED_ERROR_CODES: "400 405 413 429 500 501 502 503 504"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
networks:
|
||||
bw-universe:
|
||||
bw-services:
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
www.example.com_INTERCEPTED_ERROR_CODES: "400 405 413 429 500 501 502 503 504"
|
||||
CUSTOM_CONF_SERVER_HTTP_port-redirect: "port_in_redirect on;"
|
||||
labels:
|
||||
- "bunkerweb.INSTANCE"
|
||||
- "bunkerweb.INSTANCE=yes"
|
||||
networks:
|
||||
bw-universe:
|
||||
bw-services:
|
||||
|
|
Loading…
Reference in a new issue