feat: starring doh setup

This commit is contained in:
Haletran 2026-02-25 23:19:15 +01:00
parent 2ad9b6bf9c
commit 8586a6583e
4 changed files with 14 additions and 3 deletions

View file

@ -2,9 +2,9 @@ services:
caddy:
container_name: caddy
image: caddy:2.10.2-alpine
restart: unless-stopped
ports:
- "8080:80"
#- "443:443"
volumes:
- caddy-caddyfiles:/etc/caddy
- caddy-data:/data
@ -12,6 +12,7 @@ services:
- caddy-diagrams:/srv/diagrams
networks:
- proxy
restart: unless-stopped
volumes:
caddy-caddyfiles:

8
core/doh/Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM alpine:latest
RUN apk update && \
apk add unbound
EXPOSE 5335/udp 5335/tcp
CMD unbound && tail -f

View file

@ -1,6 +1,10 @@
services:
doh:
container_name: doh
build: .
networks:
- proxy
restart: unless-stopped
networks:
proxy:

View file

@ -1,7 +1,5 @@
#!/usr/bin/env
local opt=$1
case "$1" in
vm)
qemu-system-x86_64 \