This commit is contained in:
t3chn0m4g3
2018-09-11 12:19:26 +00:00
parent 992d453b9a
commit 0c86bd9a5a
42 changed files with 15 additions and 946 deletions

View File

@ -23,7 +23,7 @@ RUN apk -U --no-cache add \
git clone --depth=1 https://github.com/johnnykv/heralding && \
cd heralding && \
pip3 install --no-cache-dir -r requirements.txt && \
pip3 install --no-cache-dir heralding && \
pip3 install --no-cache-dir . && \
# Setup user, groups and configs
addgroup -g 2000 heralding && \
@ -48,6 +48,7 @@ RUN apk -U --no-cache add \
/opt/heralding
# Start elasticpot
STOPSIGNAL SIGINT
WORKDIR /tmp/heralding/
USER heralding:heralding
CMD exec heralding -c /etc/heralding/heralding.yml -l /var/log/heralding/heralding.log

View File

@ -10,7 +10,6 @@ services:
build: .
container_name: heralding
restart: always
stop_signal: SIGINT
tmpfs:
- /tmp/heralding:uid=2000,gid=2000
networks: