bunkerized-nginx/tests/core/country/docker-compose.yml

70 lines
1.4 KiB
YAML

version: "3.5"
services:
bw:
image: bunkerity/bunkerweb:1.5.3
pull_policy: never
labels:
- "bunkerweb.INSTANCE=yes"
volumes:
- ./index.html:/var/www/html/index.html
environment:
API_WHITELIST_IP: "127.0.0.0/8 10.20.30.0/24 192.168.0.3"
HTTP_PORT: "80"
USE_BUNKERNET: "no"
USE_BLACKLIST: "no"
LOG_LEVEL: "info"
# ? COUNTRY settings
BLACKLIST_COUNTRY: ""
WHITELIST_COUNTRY: ""
networks:
bw-universe:
bw-us-network:
ipv4_address: 8.0.0.2
bw-fr-network:
ipv4_address: 2.0.0.2
bw-scheduler:
image: bunkerity/bunkerweb-scheduler:1.5.3
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:
image: tecnativa/docker-socket-proxy:nightly
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
CONTAINERS: "1"
networks:
- bw-docker
networks:
bw-universe:
name: bw-universe
ipam:
driver: default
config:
- subnet: 10.20.30.0/24
bw-us-network:
name: bw-us-network
ipam:
driver: default
config:
- subnet: 8.0.0.0/8
bw-fr-network:
name: bw-fr-network
ipam:
driver: default
config:
- subnet: 2.0.0.0/8
bw-docker:
name: bw-docker