/
docker-compose.yml
113 lines (106 loc) · 2.5 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
version: "3.5"
services:
bw:
image: bunkerity/bunkerweb:1.5.7
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"
HTTP_PORT: "80"
USE_BUNKERNET: "no"
SEND_ANONYMOUS_REPORT: "no"
LOG_LEVEL: "info"
# ? BLACKLIST settings
USE_BLACKLIST: "yes"
BLACKLIST_IP: ""
BLACKLIST_IP_URLS: ""
BLACKLIST_RDNS_GLOBAL: "yes"
BLACKLIST_RDNS: ""
BLACKLIST_RDNS_URLS: ""
BLACKLIST_ASN: ""
BLACKLIST_ASN_URLS: ""
BLACKLIST_USER_AGENT: ""
BLACKLIST_USER_AGENT_URLS: ""
BLACKLIST_URI: ""
BLACKLIST_URI_URLS: ""
BLACKLIST_IGNORE_IP: ""
BLACKLIST_IGNORE_IP_URLS: ""
BLACKLIST_IGNORE_RDNS: ""
BLACKLIST_IGNORE_RDNS_URLS: ""
BLACKLIST_IGNORE_ASN: ""
BLACKLIST_IGNORE_ASN_URLS: ""
BLACKLIST_IGNORE_USER_AGENT: ""
BLACKLIST_IGNORE_USER_AGENT_URLS: ""
BLACKLIST_IGNORE_URI: ""
BLACKLIST_IGNORE_URI_URLS: ""
CUSTOM_CONF_SERVER_HTTP_ready: |
location /ready {
default_type 'text/plain';
rewrite_by_lua_block {
ngx.print('ready')
ngx.flush(true)
ngx.exit(ngx.HTTP_OK)
}
}
networks:
bw-universe:
bw-services:
ipv4_address: 192.168.0.2
bw-global-network:
ipv4_address: 1.0.0.2
bw-scheduler:
image: bunkerity/bunkerweb-scheduler:1.5.7
pull_policy: never
depends_on:
- bw
- bw-docker
volumes:
- bw-data:/data
environment:
DOCKER_HOST: "tcp://bw-docker:2375"
LOG_LEVEL: "debug"
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
blacklist-api:
build: api
environment:
AS_NUMBER: ""
networks:
bw-docker:
bw-services:
ipv4_address: 192.168.0.4
volumes:
bw-data:
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: 192.168.0.0/24
bw-global-network:
name: bw-global-network
ipam:
driver: default
config:
- subnet: 1.0.0.0/8
bw-docker:
name: bw-docker