You've already forked http-badbots
32 lines
696 B
YAML
32 lines
696 B
YAML
version: '3.3'
|
|
services:
|
|
http-badbots:
|
|
image: git.rznet.fr/razian/http-badbots
|
|
container_name: http-badbots
|
|
ports:
|
|
- '8080:8080'
|
|
restart: always
|
|
depends_on:
|
|
- db
|
|
# volumes:
|
|
# - /var/lib/GeoIP:/app/GeoIP
|
|
command:
|
|
- --port=8080
|
|
- --mysql_user=httpbadbots
|
|
- --mysql_pass=<CHANGEME>
|
|
- --mysql_host=db
|
|
- --mysql_port=3306
|
|
- --mysql_db=httpbadbots
|
|
# - --geoip=/app/GeoIP
|
|
|
|
db:
|
|
image: mariadb
|
|
restart: always
|
|
environment:
|
|
MARIADB_USER: httpbadbots
|
|
MARIADB_PASSWORD: <CHANGEME>
|
|
MARIADB_DATABASE: httpbadbots
|
|
MARIADB_RANDOM_ROOT_PASSWORD: 1
|
|
volumes:
|
|
- ./data:/var/lib/mysql
|