mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-01 22:26:17 +00:00
update Docker configurations to use pre-built images and add development compose file
This commit is contained in:
@@ -3,9 +3,7 @@ services:
|
||||
cluster-node:
|
||||
container_name: cluster-node
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: containers/cluster_node
|
||||
dockerfile: Dockerfile-cluster_node
|
||||
image: eduardosilva/wireguard-webadmin-cluster-node:latest
|
||||
environment:
|
||||
- MASTER_SERVER_ADDRESS=${MASTER_SERVER_ADDRESS}
|
||||
- DEBUG_MODE=${DEBUG_MODE}
|
||||
@@ -15,9 +13,9 @@ services:
|
||||
volumes:
|
||||
- cluster_node_wireguard:/etc/wireguard
|
||||
- cluster_node_dnsmasq_conf:/etc/dnsmasq/
|
||||
#ports:
|
||||
ports:
|
||||
# Ports for WireGuard instances.
|
||||
#- "51820-51839:51820-51839/udp"
|
||||
- "51820-51839:51820-51839/udp"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
@@ -28,9 +26,7 @@ services:
|
||||
cluster-node-dns:
|
||||
container_name: cluster-node-dns
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: ./containers/dnsmasq
|
||||
dockerfile: Dockerfile-dnsmasq
|
||||
image: eduardosilva/wireguard_webadmin_dns:latest
|
||||
environment:
|
||||
- TZ=${TIMEZONE}
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user