mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-09-18 09:17:24 +00:00
67 lines
2.1 KiB
JSON
67 lines
2.1 KiB
JSON
{
|
|
"aio_services_v1": [
|
|
{
|
|
"container_name": "nextcloud-aio-wireguard",
|
|
"display_name": "WireGuard Easy",
|
|
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/wireguard",
|
|
"image": "ghcr.io/wg-easy/wg-easy",
|
|
"image_tag": "15",
|
|
"internal_port": "51821",
|
|
"init": false,
|
|
"restart": "unless-stopped",
|
|
"ports": [
|
|
{
|
|
"ip_binding": "",
|
|
"port_number": "51820",
|
|
"protocol": "udp"
|
|
},
|
|
{
|
|
"ip_binding": "",
|
|
"port_number": "51821",
|
|
"protocol": "tcp"
|
|
}
|
|
],
|
|
"cap_add": [
|
|
"NET_ADMIN",
|
|
"SYS_MODULE"
|
|
],
|
|
"sysctls": [
|
|
"net.ipv4.ip_forward=1",
|
|
"net.ipv4.conf.all.src_valid_mark=1",
|
|
"net.ipv6.conf.all.disable_ipv6=0",
|
|
"net.ipv6.conf.all.forwarding=1",
|
|
"net.ipv6.conf.default.forwarding=1"
|
|
],
|
|
"environment": [
|
|
"TZ=%TIMEZONE%",
|
|
"INSECURE=true",
|
|
"PORT=51821",
|
|
"INIT_ENABLED=true",
|
|
"INIT_USERNAME=admin",
|
|
"INIT_PASSWORD=%WIREGUARD_PASSWORD%",
|
|
"INIT_HOST=%NC_DOMAIN%",
|
|
"INIT_PORT=51820"
|
|
],
|
|
"volumes": [
|
|
{
|
|
"source": "nextcloud_aio_wireguard",
|
|
"destination": "/etc/wireguard",
|
|
"writeable": true
|
|
},
|
|
{
|
|
"source": "/lib/modules",
|
|
"destination": "/lib/modules",
|
|
"writeable": false
|
|
}
|
|
],
|
|
"backup_volumes": [
|
|
"nextcloud_aio_wireguard"
|
|
],
|
|
"ui_secret": "WIREGUARD_PASSWORD",
|
|
"secrets": [
|
|
"WIREGUARD_PASSWORD"
|
|
]
|
|
}
|
|
]
|
|
}
|