This commit is contained in:
t3chn0m4g3
2020-02-27 10:35:50 +00:00
parent 21c68f75e2
commit 53e9470d58
10 changed files with 20 additions and 348 deletions

View File

@ -49,23 +49,23 @@ services:
- tanner_redis
# Tanner WEB Service
tanner_web:
build: ./tanner
container_name: tanner_web
restart: always
stop_signal: SIGKILL
tmpfs:
- /tmp/tanner:uid=2000,gid=2000
tty: true
networks:
- tanner_local
image: "dtagdevsec/tanner:2006"
command: tannerweb
read_only: true
volumes:
- /data/tanner/log:/var/log/tanner
depends_on:
- tanner_redis
# tanner_web:
# build: ./tanner
# container_name: tanner_web
# restart: always
# stop_signal: SIGKILL
# tmpfs:
# - /tmp/tanner:uid=2000,gid=2000
# tty: true
# networks:
# - tanner_local
# image: "dtagdevsec/tanner:2006"
# command: tannerweb
# read_only: true
# volumes:
# - /data/tanner/log:/var/log/tanner
# depends_on:
# - tanner_redis
# Tanner Service
tanner:
@ -86,7 +86,7 @@ services:
- /data/tanner/files:/opt/tanner/files
depends_on:
- tanner_api
- tanner_web
# - tanner_web
- tanner_phpox
# Snare Service

View File

@ -13,7 +13,7 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
rm -rf /tmp/* /var/tmp/* && \
rm -rf /var/cache/apk/*
#
# Start conpot
# Start redis
STOPSIGNAL SIGKILL
USER nobody:nobody
CMD redis-server /etc/redis.conf

View File

@ -56,7 +56,7 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
rm -rf /tmp/* /var/tmp/* && \
rm -rf /var/cache/apk/*
#
# Start conpot
# Start tanner
STOPSIGNAL SIGKILL
USER tanner:tanner
WORKDIR /opt/tanner