Mac mini server intial commit

This commit is contained in:
2026-01-02 08:19:04 +00:00
commit b9d897c665
20 changed files with 430 additions and 0 deletions

14
nginx/.gitignore vendored Normal file
View File

@@ -0,0 +1,14 @@
# Ignore sensitive data
.env # Environment variables file (contains sensitive info)
# Ignore directories with persistent or sensitive data
data/ # Contains persistent data (e.g., databases, configuration files)
letsencrypt/ # Contains SSL certificates (do not track in Git)
# Ignore temporary or log files
*.log # Log files
*.bak # Backup files
*.swp # Swap files (e.g., from text editors)
# Ignore any local overrides or extra Docker Compose files
docker-compose.override.yml # Local override for docker-compose (optional)

32
nginx/README.md Normal file
View File

@@ -0,0 +1,32 @@
# Nginx Proxy Manager Info
## Instructions:
- Use for controlling paths/subdomains in cloudflare tunnel
- Access WebUI on port 81
## Contents:
**`nginx/`**
├── **`data/`**
├── **`docker-compose.yml`**
├── **`.env`**
├── **`.gitignore`**
├── **`letsencrypt/`**
└── **`README.md`**
## File Descrptions:
- **`data/`**: Nginx Data
- **`docker-compose.yml`**: Compose file
- **`.env`**: Environment Variables
- **`.gitignore`**: Git Ignore file
- **`letsencrypt/`**: Letsencrypt Data
- **`README.md`**: Documentation
## Environmet Variables:
- None
## Ignored Files:
- **`data/`**: Persistant Data
- **`.env`**: Environment Variables
- **`letsencrypt/`**: Potentially sensitive data

21
nginx/docker-compose.yml Normal file
View File

@@ -0,0 +1,21 @@
services:
nginx:
container_name: 'NPM'
image: 'docker.io/jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
# - '443:443'
networks:
- 'homelab'
- 'tunnel'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
networks:
homelab:
external: true
tunnel:
external: true