mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-26 21:31:14 +00:00
DNS Container and docker compose
This commit is contained in:
@@ -7,9 +7,11 @@ services:
|
||||
environment:
|
||||
- SERVER_ADDRESS=127.0.0.1
|
||||
- DEBUG_MODE=True
|
||||
- COMPOSE_VERSION=02b
|
||||
volumes:
|
||||
- wireguard:/etc/wireguard
|
||||
- static_volume:/app_static_files/
|
||||
- dnsmasq_conf:/etc/dnsmasq
|
||||
ports:
|
||||
# Do not directly expose the Django port to the internet, use some kind of reverse proxy with SSL.
|
||||
- "127.0.0.1:8000:8000"
|
||||
@@ -33,6 +35,14 @@ services:
|
||||
depends_on:
|
||||
- wireguard-webadmin
|
||||
|
||||
wireguard-webadmin-dns:
|
||||
container_name: wireguard-webadmin-dns
|
||||
restart: unless-stopped
|
||||
image: eduardosilva/wireguard_webadmin_dns:latest
|
||||
volumes:
|
||||
- dnsmasq_conf:/etc/dnsmasq/
|
||||
|
||||
volumes:
|
||||
static_volume:
|
||||
wireguard:
|
||||
dnsmasq_conf:
|
||||
|
Reference in New Issue
Block a user