-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.yml
36 lines (34 loc) · 918 Bytes
/
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
name: sec_auto_ban
services:
clickhouse:
image: clickhouse/clickhouse-server:latest
container_name: clickhouse
hostname: clickhouse
restart: always
networks:
- sec_auto_ban
environment:
CLICKHOUSE_DB: sec_auto_ban
CLICKHOUSE_USER: sec_auto_ban
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: "1"
CLICKHOUSE_PASSWORD: ${clickhouse_password}
volumes:
- ./data/clickhouse/data:/var/lib/clickhouse
- ./data/clickhouse/log:/var/log/clickhouse-server
sec-auto-ban:
image: secreport/sec-auto-ban:latest
container_name: sec_auto_ban
restart: always
depends_on:
- clickhouse
environment:
listen: 0.0.0.0:80
db_dsn: clickhouse://sec_auto_ban:${clickhouse_password}@clickhouse:9000/sec_auto_ban
networks:
- sec_auto_ban
ports:
- 80:80
networks:
sec_auto_ban:
name: sec_auto_ban
driver: bridge