Skip to content

Commit

Permalink
added nginx proxy manager and changed pi-hole port
Browse files Browse the repository at this point in the history
  • Loading branch information
NivEz committed Aug 20, 2023
1 parent cc346e6 commit 88d5130
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cli/choices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
12 changes: 12 additions & 0 deletions nginx-proxy-manager/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions nginx-proxy-manager/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

docker compose up -d
2 changes: 1 addition & 1 deletion pi-hole/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 88d5130

Please sign in to comment.