moved deatiled config into stack

This commit is contained in:
jrmbchtl
2021-10-18 21:33:29 +02:00
parent e3b5a7418a
commit ec24a1bef9
2 changed files with 13 additions and 44 deletions

View File

@@ -1,6 +1,18 @@
version: "3.8"
services:
wg-easy:
wg-easy:
environment:
# ⚠️ Required:
# Change this to your host's public address
- WG_HOST=raspberrypi.local
# Optional:
- PASSWORD=foobar123
- WG_PORT=51820
- WG_DEFAULT_ADDRESS=10.8.0.x
- WG_DEFAULT_DNS=1.1.1.1
- WG_ALLOWED_IPS=192.168.15.0/24, 10.0.1.0/24
image: weejewel/wg-easy
container_name: wg-easy
volumes:

View File

@@ -4304,51 +4304,8 @@
"logo": "https://raw.githubusercontent.com/Dschorim/pi-hosted/master/pi-hosted_template/images/wireguard.png",
"name": "wg-easy",
"platform": "linux",
"ports": [
"51820:51820/udp",
"51821:51821/tcp"
],
"restart_policy": "unless-stopped",
"title": "Wireguard Server",
"type": 3,
"volumes": [
{
"bind": "/portainer/Files/AppData/Config/wireguard",
"container": "/etc/wireguard"
}
],
"env": [
{
"default": "raspberrypi.local",
"label": "WG_HOST",
"name": "WG_HOST"
},
{
"default": "foobar123",
"label": "PASSWORD",
"name": "PASSWORD"
},
{
"default": "51820",
"label": "WG_PORT",
"name": "WG_PORT"
},
{
"default": "10.8.0.x",
"label": "WG_DEFAULT_ADDRESS",
"name": "WG_DEFAULT_ADDRESS"
},
{
"default": "1.1.1.1",
"label": "WG_DEFAULT_DNS",
"name": "WG_DEFAULT_DNS"
},
{
"default": "192.168.15.0/24, 10.0.1.0/24",
"label": "WG_ALLOWED_IPS",
"name": "WG_ALLOWED_IPS"
}
],
"repository": {
"stackfile": "pi-hosted_template/stack/wireguard-easy.yml",
"url": "https://github.com/Dschorim/pi-hosted"