Created
July 24, 2018 11:22
-
-
Save stash4/b61331d3c95339819b9663c6d8002827 to your computer and use it in GitHub Desktop.
for WOWHoneypot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.0" | |
services: | |
wow: | |
build: . | |
restart: always | |
ports: | |
- "80:8080" | |
volumes: | |
- "log:/wow/wowhoneypot/log" | |
volumes: | |
log: | |
driver_opts: | |
type: none | |
device: /opt/wow/wow/log | |
o: bind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie-slim | |
RUN groupadd -g 1000 wow && \ | |
useradd -g 1000 -d /wow -m -g wow wow | |
RUN apt-get update && \ | |
apt-get install -y git python3 nano | |
RUN su - wow -c "git clone https://github.com/morihisa/WOWHoneypot.git /wow/wowhoneypot" | |
USER wow | |
WORKDIR /wow/wowhoneypot | |
CMD [ "/usr/bin/python3", "/wow/wowhoneypot/wowhoneypot.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment