You've already forked ssh-tarpit
29 lines
614 B
YAML
29 lines
614 B
YAML
version: '3.3'
|
|
services:
|
|
ssh-tarpit:
|
|
image: git.rznet.fr/razian/ssh-tarpit
|
|
container_name: ssh-tarpit
|
|
ports:
|
|
- '2222:2222'
|
|
restart: always
|
|
# volumes:
|
|
# - /var/lib/GeoIP:/app/GeoIP
|
|
command:
|
|
- --port=2222
|
|
- --tarpit=false
|
|
- --mysql_user=root
|
|
- --mysql_pass=<CHANGETHIS>
|
|
- --mysql_host=db
|
|
- --mysql_port=3306
|
|
- --mysql_db=sshtarpit
|
|
# - --geoip=/app/GeoIP
|
|
|
|
db:
|
|
image: mariadb
|
|
restart: always
|
|
environment:
|
|
MARIADB_ROOT_PASSWORD: <CHANGETHIS>
|
|
MARIADB_DATABASE: sshtarpit
|
|
volumes:
|
|
- ./data:/var/lib/mysql
|