Keep current compose files and move the new ones to testing-*.yml

This commit is contained in:
Eduardo Silva
2026-11-21 10:38:50 -03:00
parent 61aff8f81c
commit 5860e7e5ad
9 changed files with 397 additions and 68 deletions
+39
View File
@@ -0,0 +1,39 @@
services:
cluster-node:
container_name: cluster-node
restart: unless-stopped
image: eduardosilva/wireguard-webadmin-cluster-node:latest
environment:
- MASTER_SERVER_ADDRESS=${MASTER_SERVER_ADDRESS}
- COMPOSE_VERSION=c2a
- TZ=${TIMEZONE}
- TOKEN=${TOKEN}
volumes:
- cluster_node_wireguard:/etc/wireguard
- cluster_node_dnsmasq_conf:/etc/dnsmasq/
ports:
# Ports for WireGuard instances.
- "51820-51839:51820-51839/udp"
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv4.ip_forward=1
cluster-node-dns:
container_name: cluster-node-dns
restart: unless-stopped
image: eduardosilva/wireguard_webadmin_dns:latest
# Shares the network of cluster-node, so DNS is answered directly on the WireGuard interfaces
network_mode: "service:cluster-node"
environment:
- TZ=${TIMEZONE}
volumes:
- cluster_node_dnsmasq_conf:/etc/dnsmasq/
depends_on:
- cluster-node
volumes:
cluster_node_wireguard:
cluster_node_dnsmasq_conf: