mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
add hpfeeds support
This commit is contained in:
parent
37424eb541
commit
62b02a7500
2 changed files with 11 additions and 3 deletions
|
@ -22,7 +22,9 @@ RUN apk -U --no-cache add \
|
||||||
|
|
||||||
# Install libemu python wrapper
|
# Install libemu python wrapper
|
||||||
pip install --no-cache-dir --upgrade pip && \
|
pip install --no-cache-dir --upgrade pip && \
|
||||||
pip install --no-cache-dir pylibemu && \
|
pip install --no-cache-dir \
|
||||||
|
hpfeeds \
|
||||||
|
pylibemu && \
|
||||||
|
|
||||||
# Install mailoney from git
|
# Install mailoney from git
|
||||||
git clone --depth=1 https://github.com/awhitehatter/mailoney /opt/mailoney && \
|
git clone --depth=1 https://github.com/awhitehatter/mailoney /opt/mailoney && \
|
||||||
|
@ -43,7 +45,7 @@ RUN apk -U --no-cache add \
|
||||||
rm -rf /root/* && \
|
rm -rf /root/* && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Set workdir and start glastopf
|
# Set workdir and start mailoney
|
||||||
USER mailoney:mailoney
|
USER mailoney:mailoney
|
||||||
WORKDIR /opt/mailoney/
|
WORKDIR /opt/mailoney/
|
||||||
CMD ["/usr/bin/python","mailoney.py","-i","0.0.0.0","-p","25","-s","mailserver","-t","schizo_open_relay"]
|
CMD ["/usr/bin/python","mailoney.py","-i","0.0.0.0","-p","25","-s","mailrelay.local","-t","schizo_open_relay"]
|
||||||
|
|
|
@ -10,6 +10,12 @@ services:
|
||||||
build: .
|
build: .
|
||||||
container_name: mailoney
|
container_name: mailoney
|
||||||
restart: always
|
restart: always
|
||||||
|
environment:
|
||||||
|
- HPFEEDS_SERVER=
|
||||||
|
- HPFEEDS_IDENT=user
|
||||||
|
- HPFEEDS_SECRET=pass
|
||||||
|
- HPFEEDS_PORT=20000
|
||||||
|
- HPFEEDS_CHANNELPREFIX=prefix
|
||||||
stop_signal: SIGINT
|
stop_signal: SIGINT
|
||||||
networks:
|
networks:
|
||||||
- mailoney_local
|
- mailoney_local
|
||||||
|
|
Loading…
Reference in a new issue