mirror of
https://github.com/luigieai/homelab.git
synced 2025-06-04 23:16:35 -03:00
delete not used anymore files
This commit is contained in:
parent
9a175c72e2
commit
bb5d5f9b29
5 changed files with 0 additions and 230 deletions
|
@ -1,40 +0,0 @@
|
|||
# Containers
|
||||
This folder contain the docker declaration for my homelab changes using portainer, when using Stack option at portainer, you can import a docker compose file from a git repository source and automatically pull changes from the git source.
|
||||
**TODO**: Explain how to setup this process
|
||||
|
||||
## Services
|
||||
Here the list of the services that I'm running at my homelab:
|
||||
|
||||
### wg-easy
|
||||
Link: *https://github.com/wg-easy/wg-easy/*
|
||||
|
||||
I use wg-easy for managing the wireguard environment at my homelab, I want a VPN for some reasons:
|
||||
- Access my homelab from outside my LAN, so if I need to manage any service I can easily do without the need to expose everything for the internet.
|
||||
- Maybe If i'm in a insecure network, proxy my home internet with VPN for secure access
|
||||
- Sometimes my friend have trouble to play an online game because of routing problems from their ISPs, I can proxy my connection to them aswell.
|
||||
|
||||
**Variables**
|
||||
There's some sensitive variables, we should configure directly in portainer these:
|
||||
```yaml
|
||||
- PASSWORD=<insert password to access the admin painel>
|
||||
```
|
||||
|
||||
### AdGuard Home
|
||||
Link: *https://github.com/AdguardTeam/AdGuardHome*
|
||||
|
||||
I use AdGuard home for it's own purpose: safe browsing at DNS Level, also I'm actually using it as my local dns resolver for all my homelab
|
||||
|
||||
**Variables**
|
||||
You can configure everything on it's own UI accessing at port 3000
|
||||
|
||||
### Nginx proxy manager
|
||||
Link: *https://nginxproxymanager.com/*
|
||||
A nice and simpler nginx configuration UI for our homelab. We take advantage of our DNS sponsored by AdGuard and all servers and containers of my homelab can now be accessed by a cool domain
|
||||
|
||||
**Variables**
|
||||
setup at port 81, for the fist time the default credentials are:
|
||||
```
|
||||
Email: admin@example.com
|
||||
Password: changeme
|
||||
```
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
job "adguard" {
|
||||
|
||||
datacenters = ["dc"]
|
||||
|
||||
type = "service"
|
||||
|
||||
group "adguard-g" {
|
||||
count = 1
|
||||
|
||||
ephemeral_disk {
|
||||
size = 500 // MB
|
||||
sticky = true
|
||||
}
|
||||
|
||||
task "adguard"{
|
||||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "adguard/adguardhome"
|
||||
ports = ["ad-ui", "ad-dns", "ad-install"]
|
||||
network_mode = "host"
|
||||
volumes = [
|
||||
"${NOMAD_ALLOC_DIR}/adguard-work:/opt/adguardhome/conf",
|
||||
"${NOMAD_ALLOC_DIR}/adguard-conf:/opt/adguardhome/work"
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
network {
|
||||
mode = "host"
|
||||
|
||||
port "ad-ui" {
|
||||
static = 8080
|
||||
to = 80
|
||||
}
|
||||
port "ad-dns" {
|
||||
static = 53
|
||||
to = 53
|
||||
}
|
||||
port "ad-install" {
|
||||
static = 3000
|
||||
to = 3000
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
service {
|
||||
name = "adguard"
|
||||
port = "ad-ui"
|
||||
provider = "nomad"
|
||||
check {
|
||||
type = "http"
|
||||
path = "/"
|
||||
interval = "20s"
|
||||
timeout = "60s"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,57 +0,0 @@
|
|||
version: "3.8"
|
||||
|
||||
volumes:
|
||||
#### ADGUARD
|
||||
adguard-work:
|
||||
adguard-conf:
|
||||
|
||||
services:
|
||||
## VPN
|
||||
wg-easy:
|
||||
environment:
|
||||
# ⚠️ Change the server's hostname (clients will connect to):
|
||||
- WG_HOST=home.marioverde.com.br
|
||||
# ⚠️ Change the Web UI Password:
|
||||
- PASSWORD
|
||||
image: weejewel/wg-easy
|
||||
container_name: wg-easy
|
||||
hostname: wg-easy
|
||||
volumes:
|
||||
- ~/.wg-easy:/etc/wireguard
|
||||
ports:
|
||||
- "51820:51820/udp"
|
||||
- "51821:51821/tcp"
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
sysctls:
|
||||
- net.ipv4.ip_forward=1
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
|
||||
## ADGUARD
|
||||
adguardhome:
|
||||
container_name: adguardhome
|
||||
image: adguard/adguardhome
|
||||
restart: unless-stopped
|
||||
network_mode: 'host'
|
||||
ports:
|
||||
- 53:53/udp
|
||||
- 8080:80/tcp
|
||||
- 3000:3000/tcp
|
||||
volumes:
|
||||
- adguard-work:/opt/adguardhome/conf
|
||||
- adguard-conf:/opt/adguardhome/work
|
||||
|
||||
## NGINX PROXY MANAGER
|
||||
nginx-proxy-manager:
|
||||
image: 'jc21/nginx-proxy-manager:latest'
|
||||
environment:
|
||||
PUID: 1000
|
||||
PGID: 1000
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '80:80' # Public HTTP Port
|
||||
- '443:443' # Public HTTPS Port
|
||||
- '81:81' # Admin Web Port
|
||||
# Add any other Stream port you want to expose
|
|
@ -1,21 +0,0 @@
|
|||
version: "3.8"
|
||||
services:
|
||||
csgoretake:
|
||||
image: timche/csgo:sourcemod
|
||||
#mem_limit: 2048m
|
||||
#cpus: 2
|
||||
environment:
|
||||
- CSGO_WS_API_KEY #Portainer
|
||||
- CSGO_MAP="de_mirage"
|
||||
- CSGO_MAX_PLAYERS=12
|
||||
- CSGO_HOSTNAME="16:9"
|
||||
- CSGO_RCON_PW
|
||||
- CSGO_FORCE_NETSETTINGS=true
|
||||
- CSGO_GSLT
|
||||
- CSGO_PARAMS="-insecure"
|
||||
volumes:
|
||||
- csgoretake:/home/csgo/server
|
||||
network_mode: host
|
||||
|
||||
volumes:
|
||||
csgoretake:
|
|
@ -1,51 +0,0 @@
|
|||
job "wg-easy" {
|
||||
|
||||
datacenters = ["dc"]
|
||||
|
||||
type = "service"
|
||||
|
||||
group "wg-easy" {
|
||||
count = 1
|
||||
|
||||
task "wg-easy" {
|
||||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "weejewel/wg-easy"
|
||||
ports = ["vpn", "webui"]
|
||||
network_mode = "host"
|
||||
volumes = [
|
||||
"${NOMAD_ALLOC_DIR}/wg-easy:/etc/wireguard",
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
network {
|
||||
mode = "host"
|
||||
|
||||
port "vpn" {
|
||||
static = 51820
|
||||
to = 51820
|
||||
}
|
||||
port "webui" {
|
||||
static = 51821
|
||||
to = 51821
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
service {
|
||||
name = "wgeasy"
|
||||
port = "webui"
|
||||
provider = "nomad"
|
||||
check {
|
||||
type = "http"
|
||||
path = "/"
|
||||
interval = "20s"
|
||||
timeout = "60s"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue