dnsmasq: serve config from /home/dank/Containers/dnsmasq (rootless-correct)
/opt is root-owned; the established data-location pattern (see docs/Architecture/Storage Policy.md, open-webui quadlet) is /home/dank/Containers/<service>.
This commit is contained in:
1 parent
55d062ea7b
commit
1dee2b737e
3 files changed
+14
-3
No files matched your search
@@ -16,6 +16,11 @@
|
|||||||
email admin@franksdank.cloud
|
email admin@franksdank.cloud
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# --- Bare-IP access (health checks, convenience) ---
|
||||||
|
:80 {
|
||||||
|
redir http://dankclaw.franksdank.cloud/ 302
|
||||||
|
}
|
||||||
|
|
||||||
# --- Homepage (password protected) ---
|
# --- Homepage (password protected) ---
|
||||||
http://dankclaw.franksdank.cloud {
|
http://dankclaw.franksdank.cloud {
|
||||||
basicauth {
|
basicauth {
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
# configured -> 192.168.0.143), so no client needs per-device config.
|
# configured -> 192.168.0.143), so no client needs per-device config.
|
||||||
#
|
#
|
||||||
# Runs on slirp4netns with port 53 published to the LAN (the same pattern as
|
# Runs on slirp4netns with port 53 published to the LAN (the same pattern as
|
||||||
# open-webui). Config mounts from /opt/dnsmasq. See docs/Infrastructure/LAN-DNS.md.
|
# open-webui). Config mounts from /home/dank/Containers/dnsmasq. See
|
||||||
|
# docs/Infrastructure/LAN-DNS.md.
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=dnsmasq LAN DNS container
|
Description=dnsmasq LAN DNS container
|
||||||
@@ -22,8 +23,8 @@ Network=slirp4netns
|
|||||||
Image=localhost/dnsmasq:latest
|
Image=localhost/dnsmasq:latest
|
||||||
PublishPort=53:53/tcp
|
PublishPort=53:53/tcp
|
||||||
PublishPort=53:53/udp
|
PublishPort=53:53/udp
|
||||||
Volume=/opt/dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf:ro
|
Volume=/home/dank/Containers/dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf:ro
|
||||||
Volume=/opt/dnsmasq/addn-hosts:/etc/dnsmasq/addn-hosts:ro
|
Volume=/home/dank/Containers/dnsmasq/addn-hosts:/etc/dnsmasq/addn-hosts:ro
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|||||||
@@ -15,6 +15,11 @@
|
|||||||
email admin@franksdank.cloud
|
email admin@franksdank.cloud
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# --- Bare-IP access (health checks, convenience) ---
|
||||||
|
:80 {
|
||||||
|
redir http://dankserver.franksdank.cloud/ 302
|
||||||
|
}
|
||||||
|
|
||||||
# --- Homepage (password protected) ---
|
# --- Homepage (password protected) ---
|
||||||
http://dankserver.franksdank.cloud {
|
http://dankserver.franksdank.cloud {
|
||||||
basicauth {
|
basicauth {
|
||||||
|
|||||||
Reference in new issue
Block a user