Compare commits
1 Commits
812fec9f08
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4022f12289 |
6
.gitignore
vendored
6
.gitignore
vendored
@@ -4,6 +4,12 @@
|
||||
.env.*
|
||||
|
||||
### Container data (DO NOT VERSION)
|
||||
/cloudflared
|
||||
/dashy
|
||||
/gitea
|
||||
/homarr
|
||||
/nginx
|
||||
/codeserver
|
||||
/portainer/config
|
||||
/portainer/config/*
|
||||
**/data/
|
||||
|
||||
20
cloudflared/.gitignore
vendored
20
cloudflared/.gitignore
vendored
@@ -1,20 +0,0 @@
|
||||
# Ignore sensitive files
|
||||
cloudflared/*.json
|
||||
# Ignore all JSON files-> ignores <tunnel_id>.json
|
||||
cert.pem
|
||||
config.yml
|
||||
.env
|
||||
|
||||
# Ignore docker-compose override files (local configurations)
|
||||
docker-compose.override.yml
|
||||
|
||||
# Ignore log files
|
||||
*.log
|
||||
|
||||
# Ignore backup or swap files created by editors
|
||||
*.bak
|
||||
*.swp
|
||||
|
||||
# Ignore any temporary files or directories created during runtime
|
||||
tmp/
|
||||
*.pid
|
||||
@@ -1,42 +0,0 @@
|
||||
# Cloudflare Tunnel Info
|
||||
|
||||
## Instructions:
|
||||
- Make sure config.yml is updated with changes from config.git.yml
|
||||
|
||||
## Contents:
|
||||
**`cloudflared`**
|
||||
│ ├── **`<tunnel_id>.json`**
|
||||
│ ├── **`cert.pem`**
|
||||
│ ├── **`config.git.yml`**
|
||||
│ ├── **`config.yml`**
|
||||
│ ├── **`docker-compose.yml`**
|
||||
│ ├── **`.env`**
|
||||
│ ├── **`.gitignore`**
|
||||
│ └── **`README.md`**
|
||||
|
||||
### File Descriptions:
|
||||
- **`<tunnel_id>.json`**: Cloudflare tunnel credentials file
|
||||
- **`cert.pem`**: Cloudflare certificate file
|
||||
- **`config.git.yml`**: Version-controlled template for `config.yml`
|
||||
- **`config.yml`**: Configuration file for Cloudflare tunnel ingress methods
|
||||
- **`docker-compose.yml`**: Docker Compose file for running the Cloudflare tunnel
|
||||
- **`.env`**: Environment variables, including the tunnel ID
|
||||
- **`.gitignore`**: Git ignore file
|
||||
- **`README.md`**: Documentation
|
||||
|
||||
### Environment Variables:
|
||||
- **`tunnel_id`**: Cloudflare tunnel ID (stored in `.env`).
|
||||
|
||||
### Ignored Files:
|
||||
- **`<tunnel_id>.json`**: Sensitive file containing the Cloudflare tunnel credentials
|
||||
- **`cert.pem`**: Cloudflare certificate file
|
||||
- **`config.yml`**: Configuration file with sensitive data
|
||||
- **`.env`**: Environment file containing sensitive data
|
||||
|
||||
### Current Ingress Methods:
|
||||
- **szumko.net** --> dashy dashboard
|
||||
- **cloud.szumko.net** --> nextcloud
|
||||
- **git.szumko.net** --> Gitea
|
||||
- **ha.szumko.net** --> Home Assistant
|
||||
- **pihole.szumko.net** --> Pihole Admin
|
||||
- **lib.szumko.net** --> Calibre
|
||||
@@ -1,17 +0,0 @@
|
||||
tunnel: <tunnel_id> # your tunnel ID
|
||||
credentials-file: /etc/cloudflared/<tunnel_id>.json
|
||||
|
||||
ingress:
|
||||
- hostname: szumko.net
|
||||
service: http://nginx-app-1:80
|
||||
- hostname: pihole.szumko.net
|
||||
service: http://nginx-app-1:80
|
||||
- hostname: git.szumko.net
|
||||
service: http://nginx-app-1:80
|
||||
- hostname: cloud.szumko.net
|
||||
service: http://nginx-app-1:80
|
||||
- hostname: ha.szumko.net
|
||||
service: http://nginx-app-1:80
|
||||
- hostname: lib.szumko.net
|
||||
service: http://nginx-app-1:80
|
||||
- service: http_status:404
|
||||
@@ -1,17 +0,0 @@
|
||||
services:
|
||||
cloudflared:
|
||||
image: cloudflare/cloudflared:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- 'default'
|
||||
- 'tunnel'
|
||||
volumes:
|
||||
- ./config.yml:/etc/cloudflared/config.yml
|
||||
- ./${TUNNEL_ID}.json:/etc/cloudflared/${TUNNEL_ID}.json # Use environment variable for tunnel ID
|
||||
command: tunnel --no-autoupdate --config /etc/cloudflared/config.yml run
|
||||
env_file:
|
||||
- .env # Reference the .env file to inject environment variables
|
||||
|
||||
networks:
|
||||
tunnel:
|
||||
external: true
|
||||
10
dashy/.gitignore
vendored
10
dashy/.gitignore
vendored
@@ -1,10 +0,0 @@
|
||||
# Ignore sensitive data
|
||||
.env # Environment variables file (contains sensitive info)
|
||||
|
||||
# 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)
|
||||
@@ -1,35 +0,0 @@
|
||||
# Not In use, replaced by Home Assistant for now
|
||||
|
||||
# Dashy Info
|
||||
|
||||
## Instructions:
|
||||
- Access WebUI on port 8181
|
||||
- Use conf.yml to edit page
|
||||
|
||||
## Contents:
|
||||
**`dashy/`**
|
||||
├── **`config/`**
|
||||
│ ├── **`conf.yml`**
|
||||
│ └── **`item-icons/`**
|
||||
├── **`docker-compose.yml`**
|
||||
├── **`.env`**
|
||||
├── **`.gitignore`**
|
||||
└── **`README.md`**
|
||||
|
||||
|
||||
|
||||
|
||||
## File Descrptions:
|
||||
- **`config/`**: Configuration data
|
||||
* **`conf.yml`**: COnfiguration file
|
||||
* **`item-icons/`**: Icons
|
||||
- **`docker-compose.yml`**: Docker compose file
|
||||
- **`.env`**: Environment Variables
|
||||
- **`.gitignore`**: Git ignore file
|
||||
- **`README.md`**: Documentation
|
||||
|
||||
## Environmet Variables:
|
||||
- None
|
||||
|
||||
## Ignored Files:
|
||||
- **`.env`**: Environment VariablesDashy Info
|
||||
@@ -1,107 +0,0 @@
|
||||
pageInfo:
|
||||
title: Pi Server
|
||||
description: ''
|
||||
navLinks:
|
||||
- title: GitHub
|
||||
path: https://github.com/Lissy93/dashy
|
||||
target: newtab
|
||||
- title: Documentation
|
||||
path: https://dashy.to/docs
|
||||
target: newtab
|
||||
appConfig:
|
||||
theme: dracula
|
||||
layout: auto
|
||||
iconSize: large
|
||||
sections:
|
||||
- name: Services
|
||||
displayData:
|
||||
sortBy: default
|
||||
cols: 4
|
||||
collapsed: false
|
||||
hideForGuests: false
|
||||
rows: 1
|
||||
items:
|
||||
- title: Pi-Hole
|
||||
description: Network Ad Block
|
||||
url: https://pihole.szumko.net
|
||||
target: newtab
|
||||
id: 0_836_pihole
|
||||
- title: Gitea
|
||||
description: Git Repos
|
||||
url: https://git.szumko.net
|
||||
target: newtab
|
||||
id: 1_836_gitea
|
||||
- title: Portainer
|
||||
description: Docker Management
|
||||
url: https://192.168.0.152:9443
|
||||
target: newtab
|
||||
id: 2_836_portainer
|
||||
- title: Cloud
|
||||
url: https://cloud.szumko.net
|
||||
target: newtab
|
||||
id: 3_836_cloud
|
||||
- name: CPU
|
||||
displayData:
|
||||
cols: 1
|
||||
sortBy: default
|
||||
rows: 4
|
||||
collapsed: false
|
||||
hideForGuests: false
|
||||
widgets:
|
||||
- type: gl-cpu-temp
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
untits: F
|
||||
id: 0_232_glcputemp
|
||||
- type: gl-current-cpu
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 1_232_glcurrentcpu
|
||||
- type: gl-current-cores
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 2_232_glcurrentcores
|
||||
- type: gl-cpu-history
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 3_232_glcpuhistory
|
||||
- name: Memory
|
||||
widgets:
|
||||
- type: gl-current-mem
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 0_633_glcurrentmem
|
||||
- type: gl-mem-history
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 1_633_glmemhistory
|
||||
- name: Disk
|
||||
widgets:
|
||||
- type: gl-disk-space
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 0_395_gldiskspace
|
||||
- type: gl-disk-io
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 1_395_gldiskio
|
||||
- name: System Load
|
||||
widgets:
|
||||
- type: gl-system-load
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 0_1061_glsystemload
|
||||
- type: gl-load-history
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 1_1061_glloadhistory
|
||||
- name: Network
|
||||
widgets:
|
||||
- type: gl-network-interfaces
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 0_746_glnetworkinterfaces
|
||||
- type: gl-network-traffic
|
||||
options:
|
||||
hostname: https://szumko.net/data
|
||||
id: 1_746_glnetworktraffic
|
||||
@@ -1,39 +0,0 @@
|
||||
# Welcome to Dashy! To get started, run `docker compose up -d`
|
||||
# You can configure your container here, by modifying this file
|
||||
version: "3.8"
|
||||
services:
|
||||
dashy:
|
||||
container_name: Dashy
|
||||
|
||||
# Pull latest image from DockerHub
|
||||
image: lissy93/dashy
|
||||
|
||||
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
|
||||
# build: .
|
||||
|
||||
# You can also use an image with a different tag, or pull from a different registry, e.g:
|
||||
# image: ghcr.io/lissy93/dashy or image: lissy93/dashy:3.0.0
|
||||
|
||||
# Pass in your config file below, by specifying the path on your host machine
|
||||
volumes:
|
||||
- /home/szumkoal/docker/dashy/config/conf.yml:/app/user-data/conf.yml
|
||||
- /home/szumkoal/docker/dashy/config/item-icons:/app/user-data/item-icons/
|
||||
|
||||
# Set port that web service will be served on. Keep container port as 8080
|
||||
ports:
|
||||
- 8181:8080
|
||||
networks:
|
||||
- 'homelab'
|
||||
# Set any environmental variables
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
# Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
|
||||
- UID=1000
|
||||
- GID=1000
|
||||
|
||||
# Specify restart policy
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
homelab:
|
||||
external: true
|
||||
27
gitea/.gitignore
vendored
27
gitea/.gitignore
vendored
@@ -1,27 +0,0 @@
|
||||
# Ignore environment file that contains sensitive information
|
||||
.env
|
||||
|
||||
# Ignore any log files that may be generated by services
|
||||
*.log
|
||||
|
||||
# Ignore temporary or backup files that might be created by editors
|
||||
*.bak
|
||||
*.swp
|
||||
|
||||
# Ignore docker-compose override files (local configurations, not meant to be versioned)
|
||||
docker-compose.override.yml
|
||||
|
||||
# Ignore any database files that are mapped as volumes (persistent data)
|
||||
config/
|
||||
data/
|
||||
mysql/
|
||||
|
||||
# Ignore any tmp or pid files that might be created during runtime
|
||||
tmp/
|
||||
*.pid
|
||||
|
||||
# Ignore any SQLite database files (if applicable)
|
||||
*.sqlite
|
||||
|
||||
# Ignore any generated Nextcloud data files (if they're stored here instead of in volumes)
|
||||
*.db
|
||||
@@ -1,38 +0,0 @@
|
||||
services:
|
||||
server:
|
||||
image: docker.gitea.com/gitea:latest-rootless
|
||||
environment:
|
||||
- GITEA__database__DB_TYPE=mysql
|
||||
- GITEA__database__HOST=db:3306
|
||||
- GITEA__database__NAME=gitea
|
||||
- GITEA__database__USER=${GITEA__database__USER}
|
||||
- GITEA__database__PASSWD=${GITEA__database__PASSWD}
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/var/lib/gitea
|
||||
- ./config:/etc/gitea
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "2222:2222"
|
||||
networks:
|
||||
- 'default'
|
||||
- 'homelab'
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: docker.io/library/mysql:8
|
||||
restart: always
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
- MYSQL_USER=${MYSQL_USER}
|
||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
volumes:
|
||||
- ./mysql:/var/lib/MySQL
|
||||
|
||||
networks:
|
||||
homelab:
|
||||
external: true
|
||||
1
homarr/.gitignore
vendored
1
homarr/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
.env
|
||||
@@ -1,2 +0,0 @@
|
||||
# Homarr Info
|
||||
# Testing only right now
|
||||
@@ -1,18 +0,0 @@
|
||||
services:
|
||||
homarr:
|
||||
container_name: homarr
|
||||
image: ghcr.io/homarr-labs/homarr:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
|
||||
- ./appdata:/appdata
|
||||
environment:
|
||||
- SECRET_ENCRYPTION_KEY=${SECRET_ENCRYPTION_KEY}
|
||||
ports:
|
||||
- '7575:7575'
|
||||
networks:
|
||||
- 'homelab'
|
||||
|
||||
networks:
|
||||
homelab:
|
||||
external: true
|
||||
14
nginx/.gitignore
vendored
14
nginx/.gitignore
vendored
@@ -1,14 +0,0 @@
|
||||
# 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)
|
||||
@@ -1,32 +0,0 @@
|
||||
# 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
|
||||
@@ -1,20 +0,0 @@
|
||||
services:
|
||||
app:
|
||||
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
|
||||
Reference in New Issue
Block a user