2023-05-19 22:25:01 +02:00
|
|
|
version: "3.5"
|
|
|
|
|
|
|
|
services:
|
|
|
|
bw:
|
2023-09-06 15:11:36 +02:00
|
|
|
image: bunkerity/bunkerweb:1.5.2
|
2023-05-19 22:25:01 +02:00
|
|
|
pull_policy: never
|
|
|
|
depends_on:
|
|
|
|
- bw-redis
|
|
|
|
labels:
|
|
|
|
- "bunkerweb.INSTANCE"
|
|
|
|
volumes:
|
|
|
|
- ./index.html:/var/www/html/index.html
|
|
|
|
environment:
|
|
|
|
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24 1.0.0.3"
|
|
|
|
HTTP_PORT: "80"
|
|
|
|
USE_BUNKERNET: "no"
|
|
|
|
BLACKLIST_IP_URLS: ""
|
|
|
|
LOG_LEVEL: "info"
|
|
|
|
SESSIONS_NAME: "test"
|
|
|
|
USE_REVERSE_SCAN: "no"
|
|
|
|
USE_ANTIBOT: "no"
|
|
|
|
USE_GREYLIST: "yes"
|
|
|
|
GREYLIST_IP: "0.0.0.0/0"
|
|
|
|
WHITELIST_COUNTRY: "AU"
|
|
|
|
|
|
|
|
# ? REDIS settings
|
|
|
|
USE_REDIS: "yes"
|
|
|
|
REDIS_HOST: "bw-redis"
|
|
|
|
REDIS_PORT: "6379"
|
|
|
|
REDIS_DATABASE: "0"
|
|
|
|
REDIS_SSL: "no"
|
|
|
|
networks:
|
|
|
|
bw-universe:
|
|
|
|
bw-services:
|
|
|
|
ipv4_address: 1.0.0.2
|
|
|
|
|
|
|
|
bw-scheduler:
|
2023-09-06 15:11:36 +02:00
|
|
|
image: bunkerity/bunkerweb-scheduler:1.5.2
|
2023-05-19 22:25:01 +02:00
|
|
|
pull_policy: never
|
|
|
|
depends_on:
|
|
|
|
- bw
|
|
|
|
- bw-docker
|
|
|
|
environment:
|
|
|
|
DOCKER_HOST: "tcp://bw-docker:2375"
|
|
|
|
LOG_LEVEL: "info"
|
|
|
|
networks:
|
|
|
|
- bw-universe
|
|
|
|
- bw-docker
|
|
|
|
|
|
|
|
bw-docker:
|
2023-08-10 15:06:38 +02:00
|
|
|
image: tecnativa/docker-socket-proxy:nightly
|
2023-05-19 22:25:01 +02:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
environment:
|
|
|
|
CONTAINERS: "1"
|
|
|
|
networks:
|
|
|
|
- bw-docker
|
|
|
|
|
|
|
|
bw-redis:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.redis
|
|
|
|
environment:
|
|
|
|
REDIS_PORT: "6379"
|
|
|
|
REDIS_SSL: "no"
|
|
|
|
networks:
|
|
|
|
bw-services:
|
|
|
|
ipv4_address: 1.0.0.4
|
|
|
|
|
|
|
|
networks:
|
|
|
|
bw-universe:
|
|
|
|
name: bw-universe
|
|
|
|
ipam:
|
|
|
|
driver: default
|
|
|
|
config:
|
|
|
|
- subnet: 10.20.30.0/24
|
|
|
|
bw-services:
|
|
|
|
name: bw-services
|
|
|
|
ipam:
|
|
|
|
driver: default
|
|
|
|
config:
|
|
|
|
- subnet: 1.0.0.0/24
|
|
|
|
bw-docker:
|
|
|
|
name: bw-docker
|