mirror of
https://github.com/luigieai/homelab.git
synced 2025-06-06 15:46:35 -03:00
feat: Adguard first deployment
This commit is contained in:
parent
a55f3bd6f0
commit
a5022ac91d
2 changed files with 28 additions and 5 deletions
|
@ -5,13 +5,16 @@ This folder contain the docker declaration for my homelab changes using portaine
|
|||
## Services
|
||||
Here the list of the services that I'm running at my homelab:
|
||||
|
||||
### VPN with wireguard
|
||||
Link: *https://github.com/ngoduykhanh/wireguard-ui*
|
||||
### wg-easy
|
||||
Link: *https://github.com/wg-easy/wg-easy/*
|
||||
|
||||
I use wireguard with wireguard-ui for managing the wireguard environment at my homelab, I want a VPN for some reasons:
|
||||
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**
|
||||
All the variables can be change in the wireguard-ui later, so for now we start the container with admin/admin credentials for first time setup
|
||||
There's some sensitive variables, we should configure directly in portainer these:
|
||||
```yaml
|
||||
- PASSWORD=<insert password to access the admin painel>
|
||||
```
|
|
@ -1,6 +1,12 @@
|
|||
version: "3.8"
|
||||
|
||||
volumes:
|
||||
#### ADGUARD
|
||||
adguard-work:
|
||||
adguard-conf:
|
||||
|
||||
services:
|
||||
## VPN
|
||||
wg-easy:
|
||||
environment:
|
||||
# ⚠️ Change the server's hostname (clients will connect to):
|
||||
|
@ -21,4 +27,18 @@ services:
|
|||
- SYS_MODULE
|
||||
sysctls:
|
||||
- net.ipv4.ip_forward=1
|
||||
- net.ipv4.conf.all.src_valid_mark=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
|
Loading…
Add table
Reference in a new issue