From 88d5130c970400370484df407ae9e53a11e31d82 Mon Sep 17 00:00:00 2001 From: NivEz Date: Sun, 20 Aug 2023 23:39:43 +0300 Subject: [PATCH] added nginx proxy manager and changed pi-hole port --- cli/choices.py | 6 ++++++ nginx-proxy-manager/docker-compose.yaml | 12 ++++++++++++ nginx-proxy-manager/install.sh | 3 +++ pi-hole/docker-compose.yaml | 2 +- 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 nginx-proxy-manager/docker-compose.yaml create mode 100644 nginx-proxy-manager/install.sh diff --git a/cli/choices.py b/cli/choices.py index 418fcb0..a762a4a 100644 --- a/cli/choices.py +++ b/cli/choices.py @@ -17,6 +17,12 @@ 'directory': 'pi-hole', 'script': './install.sh' }, + 'nginx_proxy_manager': { + 'display_value': 'Nginx Proxy Manager', + 'short_name': 'Nginx Proxy Manager', + 'directory': 'nginx-proxy-manager', + 'script': './install.sh' + }, 'shut_down_container': { 'display_value': 'Remote shut down container (not implemented yet)', 'short_name': 'Shut down container', diff --git a/nginx-proxy-manager/docker-compose.yaml b/nginx-proxy-manager/docker-compose.yaml new file mode 100644 index 0000000..a7b4bbd --- /dev/null +++ b/nginx-proxy-manager/docker-compose.yaml @@ -0,0 +1,12 @@ +version: '3.8' +services: + app: + image: 'jc21/nginx-proxy-manager:latest' + restart: unless-stopped + ports: + - '80:80' + - '81:81' + - '443:443' + volumes: + - ./data:/data + - ./letsencrypt:/etc/letsencrypt \ No newline at end of file diff --git a/nginx-proxy-manager/install.sh b/nginx-proxy-manager/install.sh new file mode 100644 index 0000000..d4d791a --- /dev/null +++ b/nginx-proxy-manager/install.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker compose up -d \ No newline at end of file diff --git a/pi-hole/docker-compose.yaml b/pi-hole/docker-compose.yaml index d275716..dc7f075 100644 --- a/pi-hole/docker-compose.yaml +++ b/pi-hole/docker-compose.yaml @@ -11,7 +11,7 @@ services: - "53:53/tcp" - "53:53/udp" - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server - - "80:80/tcp" + - "8080:80/tcp" environment: TZ: "${TIMEZONE}" # WEBPASSWORD: 'set a secure password here or it will be random'