mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-22 04:43:18 +01:00
Rework cluster into v2: section-based worker sync and App Gateway on workers
This commit is contained in:
+6
-3
@@ -1,4 +1,3 @@
|
||||
version: '3'
|
||||
services:
|
||||
cluster-node:
|
||||
container_name: cluster-node
|
||||
@@ -6,8 +5,7 @@ services:
|
||||
image: eduardosilva/wireguard-webadmin-cluster-node:latest
|
||||
environment:
|
||||
- MASTER_SERVER_ADDRESS=${MASTER_SERVER_ADDRESS}
|
||||
- DEBUG_MODE=${DEBUG_MODE}
|
||||
- COMPOSE_VERSION=c1b
|
||||
- COMPOSE_VERSION=c2a
|
||||
- TZ=${TIMEZONE}
|
||||
- TOKEN=${TOKEN}
|
||||
volumes:
|
||||
@@ -27,10 +25,15 @@ services:
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user