mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
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:
@@ -7,6 +7,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
|
||||
networks:
|
||||
- proxy
|
||||
@@ -31,14 +32,6 @@ services:
|
||||
client=https://matrix.example.com,
|
||||
server=matrix.example.com:443
|
||||
}
|
||||
#cpuset: "0-4" # Uncomment to limit to specific CPU cores
|
||||
ulimits: # Continuwuity uses quite a few file descriptors, and on some systems it defaults to 1024, so you can tell docker to increase it
|
||||
nofile:
|
||||
soft: 1048567
|
||||
hard: 1048567
|
||||
configs: # using custom resolver instead of Docker's
|
||||
- source: continuwuity-resolv.conf
|
||||
target: /etc/resolv.conf
|
||||
|
||||
traefik:
|
||||
image: "traefik:latest"
|
||||
@@ -86,14 +79,8 @@ services:
|
||||
TRAEFIK_PROVIDERS_DOCKER_EXPOSEDBYDEFAULT: false
|
||||
|
||||
volumes:
|
||||
db:
|
||||
acme:
|
||||
db:
|
||||
acme:
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
||||
configs:
|
||||
continuwuity-resolv.conf:
|
||||
content: |
|
||||
nameserver 1.0.0.1
|
||||
nameserver 1.1.1.1
|
||||
proxy:
|
||||
|
||||
Reference in New Issue
Block a user