docs(docker): Revert to mounting /etc/resolv.conf as configs: won't work

* Fix wording to make mounting resolv.conf more imperative
* Linting and other changes
This commit is contained in:
stratself
2026-04-13 17:34:36 +00:00
committed by Ellis Git
parent 8bebec6687
commit 7f92659a98
6 changed files with 22 additions and 75 deletions
@@ -24,6 +24,7 @@ services:
command: /sbin/conduwuit
volumes:
- db:/var/lib/continuwuity
- ./continuwuity-resolv.conf:/etc/resolv.conf # use custom resolvers rather than Docker's
#- ./continuwuity.toml:/etc/continuwuity.toml
environment:
CONTINUWUITY_SERVER_NAME: example.com # EDIT THIS
@@ -40,18 +41,8 @@ services:
labels:
caddy: matrix.example.com
caddy.reverse_proxy: "{{upstreams 8008}}"
configs: # using custom resolver instead of Docker's
- source: continuwuity-resolv.conf
target: /etc/resolv.conf
volumes:
db:
networks:
caddy:
configs:
continuwuity-resolv.conf:
content: |
nameserver 1.0.0.1
nameserver 1.1.1.1