tpotce/docker/cowrie/docker-compose.yml
t3chn0m4g3 f9a9c8c4bf tweak deploy, add autoheal, start update Dockerfiles
- tweak deploy a little further
- start with rebuilding Dockerfiles
- rework healthcheck for adbhoney CPU issues
- bump adbhoney, ciscoasa, citrixhoneypot, conpot, cowriepot, ddospot to alpine 3.19
- fix conpot issue with py 3.11
- bump conpot to latest master
- bump cowrie to latest master
- add autoheal to tpotinit to restart unhealthy container (if healthcheck enabled)
2024-02-27 20:23:30 +01:00

29 lines
664 B
YAML

version: '2.3'
networks:
cowrie_local:
services:
# Cowrie service
cowrie:
build: .
container_name: cowrie
restart: always
tmpfs:
- /tmp/cowrie:uid=2000,gid=2000
- /tmp/cowrie/data:uid=2000,gid=2000
# cpu_count: 1
# cpus: 0.25
networks:
- cowrie_local
ports:
- "22:22"
- "23:23"
image: "dtagdevsec/cowrie:alpha"
read_only: true
volumes:
- $HOME/tpotce/data/cowrie/downloads:/home/cowrie/cowrie/dl
- $HOME/tpotce/data/cowrie/keys:/home/cowrie/cowrie/etc
- $HOME/tpotce/data/cowrie/log:/home/cowrie/cowrie/log
- $HOME/tpotce/data/cowrie/log/tty:/home/cowrie/cowrie/log/tty