tpotce/docker/conpot/docker-compose.yml

136 lines
3.4 KiB
YAML
Raw Normal View History

2018-03-25 18:35:32 +00:00
# CONPOT TEMPLATE=[default, IEC104, guardian_ast, ipmi, kamstrup_382, proxy]
networks:
2018-03-25 18:35:32 +00:00
conpot_local_default:
conpot_local_IEC104:
conpot_local_guardian_ast:
conpot_local_ipmi:
conpot_local_kamstrup_382:
services:
2018-03-25 18:35:32 +00:00
# Conpot default service
conpot_default:
build: .
container_name: conpot_default
restart: always
2018-03-25 18:35:32 +00:00
environment:
- CONPOT_CONFIG=/etc/conpot/conpot.cfg
- CONPOT_JSON_LOG=/var/log/conpot/conpot_default.json
- CONPOT_LOG=/var/log/conpot/conpot_default.log
- CONPOT_TEMPLATE=default
- CONPOT_TMP=/tmp/conpot
tmpfs:
- /tmp/conpot:uid=2000,gid=2000
# cpu_count: 1
# cpus: 0.25
networks:
2018-03-25 18:35:32 +00:00
- conpot_local_default
ports:
2021-02-25 11:55:51 +00:00
# - "69:69/udp"
2018-03-25 18:35:32 +00:00
- "80:80"
- "102:102"
2021-02-25 11:55:51 +00:00
- "161:161/udp"
2018-03-25 18:35:32 +00:00
- "502:502"
2021-02-25 11:55:51 +00:00
# - "623:623/udp"
2018-08-22 13:43:27 +00:00
- "2121:21"
2018-03-25 18:35:32 +00:00
- "44818:44818"
2021-02-25 11:55:51 +00:00
- "47808:47808/udp"
2024-03-24 18:22:37 +00:00
image: "dtagdevsec/conpot:24.04"
2018-03-25 18:35:32 +00:00
read_only: true
volumes:
- $HOME/tpotce/data/conpot/log:/var/log/conpot
2018-03-25 18:35:32 +00:00
# Conpot IEC104 service
conpot_IEC104:
container_name: conpot_IEC104
restart: always
environment:
- CONPOT_CONFIG=/etc/conpot/conpot.cfg
- CONPOT_JSON_LOG=/var/log/conpot/conpot_IEC104.json
- CONPOT_LOG=/var/log/conpot/conpot_IEC104.log
- CONPOT_TEMPLATE=IEC104
- CONPOT_TMP=/tmp/conpot
tmpfs:
- /tmp/conpot:uid=2000,gid=2000
# cpu_count: 1
# cpus: 0.25
2018-03-25 18:35:32 +00:00
networks:
- conpot_local_IEC104
ports:
2021-02-25 11:55:51 +00:00
# - "161:161/udp"
2018-03-25 18:35:32 +00:00
- "2404:2404"
2024-03-24 18:22:37 +00:00
image: "dtagdevsec/conpot:24.04"
2018-03-25 18:35:32 +00:00
read_only: true
volumes:
- $HOME/tpotce/data/conpot/log:/var/log/conpot
2018-03-25 18:35:32 +00:00
# Conpot guardian_ast service
conpot_guardian_ast:
container_name: conpot_guardian_ast
restart: always
environment:
- CONPOT_CONFIG=/etc/conpot/conpot.cfg
- CONPOT_JSON_LOG=/var/log/conpot/conpot_guardian_ast.json
- CONPOT_LOG=/var/log/conpot/conpot_guardian_ast.log
- CONPOT_TEMPLATE=guardian_ast
- CONPOT_TMP=/tmp/conpot
tmpfs:
- /tmp/conpot:uid=2000,gid=2000
# cpu_count: 1
# cpus: 0.25
2018-03-25 18:35:32 +00:00
networks:
- conpot_local_guardian_ast
ports:
- "10001:10001"
2024-03-24 18:22:37 +00:00
image: "dtagdevsec/conpot:24.04"
2018-03-25 18:35:32 +00:00
read_only: true
volumes:
- $HOME/tpotce/data/conpot/log:/var/log/conpot
2018-03-25 18:35:32 +00:00
# Conpot ipmi
conpot_ipmi:
container_name: conpot_ipmi
restart: always
environment:
- CONPOT_CONFIG=/etc/conpot/conpot.cfg
- CONPOT_JSON_LOG=/var/log/conpot/conpot_ipmi.json
- CONPOT_LOG=/var/log/conpot/conpot_ipmi.log
- CONPOT_TEMPLATE=ipmi
- CONPOT_TMP=/tmp/conpot
tmpfs:
- /tmp/conpot:uid=2000,gid=2000
# cpu_count: 1
# cpus: 0.25
2018-03-25 18:35:32 +00:00
networks:
- conpot_local_ipmi
ports:
2021-02-25 11:55:51 +00:00
- "623:623/udp"
2024-03-24 18:22:37 +00:00
image: "dtagdevsec/conpot:24.04"
2018-03-25 18:35:32 +00:00
read_only: true
volumes:
- $HOME/tpotce/data/conpot/log:/var/log/conpot
2018-03-25 18:35:32 +00:00
# Conpot kamstrup_382
conpot_kamstrup_382:
container_name: conpot_kamstrup_382
restart: always
environment:
- CONPOT_CONFIG=/etc/conpot/conpot.cfg
- CONPOT_JSON_LOG=/var/log/conpot/conpot_kamstrup_382.json
- CONPOT_LOG=/var/log/conpot/conpot_kamstrup_382.log
- CONPOT_TEMPLATE=kamstrup_382
- CONPOT_TMP=/tmp/conpot
tmpfs:
- /tmp/conpot:uid=2000,gid=2000
# cpu_count: 1
# cpus: 0.25
2018-03-25 18:35:32 +00:00
networks:
- conpot_local_kamstrup_382
ports:
- "1025:1025"
- "50100:50100"
2024-03-24 18:22:37 +00:00
image: "dtagdevsec/conpot:24.04"
2018-03-25 18:35:32 +00:00
read_only: true
volumes:
- $HOME/tpotce/data/conpot/log:/var/log/conpot