From a3e0c51493120f84fdeaac8f2b5e73c2fbadb4ea Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Tue, 28 Jan 2020 16:11:05 +0000 Subject: [PATCH] switch to new nginx, heimdall, landing page in nextgen --- etc/compose/nextgen.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/etc/compose/nextgen.yml b/etc/compose/nextgen.yml index c6c6afdb..0bb76907 100644 --- a/etc/compose/nextgen.yml +++ b/etc/compose/nextgen.yml @@ -562,22 +562,34 @@ services: nginx: container_name: nginx restart: always + environment: + ### If set to YES all changes within Heimdall will remain for the next start + ### Make sure to uncomment the corresponding volume statements below, or the setting will prevent a successful start of T-Pot. + - HEIMDALL_PERSIST=NO tmpfs: - /var/tmp/nginx/client_body - /var/tmp/nginx/proxy - /var/tmp/nginx/fastcgi - /var/tmp/nginx/uwsgi - - /var/tmp/nginx/scgi + - /var/tmp/nginx/scgi - /run + - /var/log/php7/ + - /var/lib/nginx/tmp:uid=100,gid=82 + - /var/lib/nginx/html/storage/logs:uid=100,gid=82 + - /var/lib/nginx/html/storage/framework/views:uid=100,gid=82 network_mode: "host" ports: - "64297:64297" - image: "dtagdevsec/nginx:1903" + - "127.0.0.1:64304:64304" + image: "dtagdevsec/nginx:2006" read_only: true volumes: - /data/nginx/cert/:/etc/nginx/cert/:ro - /data/nginx/conf/nginxpasswd:/etc/nginx/nginxpasswd:ro - /data/nginx/log/:/var/log/nginx/ + ### Enable the following volumes if you set HEIMDALL_PERSIST=YES + # - /data/nginx/heimdall/database:/var/lib/nginx/html/database + # - /data/nginx/heimdall/storage:/var/lib/nginx/html/storage # Spiderfoot service spiderfoot: