Skip to content

Instantly share code, notes, and snippets.

@stash4
Created July 24, 2018 11:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stash4/b61331d3c95339819b9663c6d8002827 to your computer and use it in GitHub Desktop.
Save stash4/b61331d3c95339819b9663c6d8002827 to your computer and use it in GitHub Desktop.
for WOWHoneypot
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
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