2022-06-03 15:24:14 +00:00
services :
2024-06-26 16:25:43 +00:00
bunkerweb :
2024-12-20 14:29:12 +00:00
image : bunkerity/bunkerweb:1.6.0-rc1
2024-06-26 16:25:43 +00:00
container_name : bunkerweb
2022-06-03 15:24:14 +00:00
ports :
2024-11-20 15:09:40 +00:00
- "80:8080/tcp"
- "443:8443/tcp"
- "443:8443/udp" # for QUIC
2022-11-20 17:53:41 +00:00
environment :
2024-06-26 16:25:43 +00:00
API_WHITELIST_IP : "127.0.0.0/8 10.20.30.0/24"
restart : "unless-stopped"
networks :
- bw-universe
- bw-services
bw-scheduler :
2024-12-20 14:29:12 +00:00
image : bunkerity/bunkerweb-scheduler:1.6.0-rc1
2024-06-26 16:25:43 +00:00
container_name : bw-scheduler
depends_on :
- bunkerweb
volumes :
- bw-data:/data
environment :
BUNKERWEB_INSTANCES : "bunkerweb"
2022-11-20 17:53:41 +00:00
SERVER_NAME : "www.example.com" # replace with your domain
API_WHITELIST_IP : "127.0.0.0/8 10.20.30.0/24"
SERVE_FILES : "no"
DISABLE_DEFAULT_SERVER : "yes"
AUTO_LETS_ENCRYPT : "yes"
USE_CLIENT_CACHE : "yes"
USE_GZIP : "yes"
USE_REVERSE_PROXY : "yes"
REVERSE_PROXY_URL : "/"
REVERSE_PROXY_HOST : "http://mydrupal"
2024-11-20 15:09:40 +00:00
MODSECURITY_CRS_PLUGIN_URLS : "https://github.com/coreruleset/drupal-rule-exclusions-plugin/archive/refs/tags/v1.0.0.tar.gz" # This is a CRS plugin specific to Drupal
2023-10-03 10:37:56 +00:00
# Once the installation is done, you can remove these lines
2022-11-20 17:53:41 +00:00
LIMIT_REQ_URL_1 : "/core/install.php"
LIMIT_REQ_RATE_1 : "5r/s"
2024-06-26 16:25:43 +00:00
restart : "unless-stopped"
2022-11-20 17:53:41 +00:00
networks :
- bw-universe
2022-06-03 15:24:14 +00:00
mydrupal :
2024-06-26 16:25:43 +00:00
image : drupal:10-apache
2022-06-03 15:24:14 +00:00
volumes :
- ./drupal-modules:/var/www/html/modules
- ./drupal-profiles:/var/www/html/profiles
- ./drupal-themes:/var/www/html/themes
- ./drupal-sites:/var/www/html/sites
2022-11-20 17:53:41 +00:00
networks :
- bw-services
2022-06-03 15:24:14 +00:00
mydb :
2024-06-26 16:25:43 +00:00
image : mariadb:11
2022-06-03 15:24:14 +00:00
volumes :
2022-11-20 17:53:41 +00:00
- db-data:/var/lib/mysql
2022-06-03 15:24:14 +00:00
environment :
2024-06-26 16:25:43 +00:00
MYSQL_ROOT_PASSWORD : "db-root-pwd" # replace with a stronger password
MYSQL_DATABASE : "drupaldb"
MYSQL_USER : "user"
MYSQL_PASSWORD : "db-user-pwd" # replace with a stronger password
2022-11-20 17:53:41 +00:00
networks :
- bw-services
2022-07-25 08:11:44 +00:00
volumes :
2022-11-20 17:53:41 +00:00
bw-data :
db-data :
2023-10-03 10:37:56 +00:00
2022-11-20 17:53:41 +00:00
networks :
bw-universe :
2024-06-26 16:25:43 +00:00
name : bw-universe
2022-11-20 17:53:41 +00:00
ipam :
driver : default
config :
- subnet : 10.20 .30 .0 /24
bw-services :
2024-06-26 16:25:43 +00:00
name : bw-services