mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix(docs): Remove matrix. subdomains in composes
Delegation can be re-added in future commits
This commit is contained in:
@@ -152,7 +152,7 @@ You will then need to point your reverse proxy towards Continuwuity at `127.0.0.
|
|||||||
|
|
||||||
### Starting Your Server
|
### Starting Your Server
|
||||||
|
|
||||||
1. Choose your compose file from the above, and rename it to `docker-compose.yml`. Edit values as you see fit.
|
1. Choose your compose file from the above, and rename it to `docker-compose.yml`. Replace `example.com` with your homeserver's domain name, and edit other values as you see fit.
|
||||||
2. If using the override file, rename it to `docker-compose.override.yml` and
|
2. If using the override file, rename it to `docker-compose.override.yml` and
|
||||||
edit your values.
|
edit your values.
|
||||||
3. Start the server:
|
3. Start the server:
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ services:
|
|||||||
- proxy
|
- proxy
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.continuwuity.rule=(Host(`matrix.example.com`) || (Host(`example.com`) && PathPrefix(`/.well-known/matrix`)))"
|
- "traefik.http.routers.continuwuity.rule=(Host(`example.com`))"
|
||||||
- "traefik.http.routers.continuwuity.entrypoints=websecure" # your HTTPS entry point
|
- "traefik.http.routers.continuwuity.entrypoints=websecure" # your HTTPS entry point
|
||||||
- "traefik.http.routers.continuwuity.tls=true"
|
- "traefik.http.routers.continuwuity.tls=true"
|
||||||
- "traefik.http.routers.continuwuity.service=continuwuity"
|
- "traefik.http.routers.continuwuity.service=continuwuity"
|
||||||
@@ -21,7 +21,7 @@ services:
|
|||||||
# possibly, depending on your config:
|
# possibly, depending on your config:
|
||||||
# - "traefik.http.routers.continuwuity.tls.certresolver=letsencrypt"
|
# - "traefik.http.routers.continuwuity.tls.certresolver=letsencrypt"
|
||||||
environment:
|
environment:
|
||||||
CONTINUWUITY_SERVER_NAME: example.com # EDIT THIS
|
CONTINUWUITY_SERVER_NAME: example.com
|
||||||
CONTINUWUITY_DATABASE_PATH: /var/lib/continuwuity
|
CONTINUWUITY_DATABASE_PATH: /var/lib/continuwuity
|
||||||
CONTINUWUITY_ADDRESS: 0.0.0.0
|
CONTINUWUITY_ADDRESS: 0.0.0.0
|
||||||
CONTINUWUITY_PORT: 8008 # This must match with traefik's loadbalancer label
|
CONTINUWUITY_PORT: 8008 # This must match with traefik's loadbalancer label
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.docker.network=proxy" # Change this to the name of your Traefik docker proxy network
|
- "traefik.docker.network=proxy" # Change this to the name of your Traefik docker proxy network
|
||||||
|
|
||||||
- "traefik.http.routers.to-continuwuity.rule=Host(`matrix.example.com`)" # Change to the address on which Continuwuity is hosted
|
- "traefik.http.routers.to-continuwuity.rule=Host(`example.com`)" # Change to the address on which Continuwuity is hosted
|
||||||
- "traefik.http.routers.to-continuwuity.tls=true"
|
- "traefik.http.routers.to-continuwuity.tls=true"
|
||||||
- "traefik.http.routers.to-continuwuity.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.to-continuwuity.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.routers.to-continuwuity.middlewares=cors-headers@docker"
|
- "traefik.http.routers.to-continuwuity.middlewares=cors-headers@docker"
|
||||||
|
|||||||
@@ -14,9 +14,6 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
|
||||||
caddy: example.com
|
|
||||||
caddy.reverse_proxy: /.well-known/matrix/* homeserver:8008
|
|
||||||
|
|
||||||
homeserver:
|
homeserver:
|
||||||
image: forgejo.ellis.link/continuwuation/continuwuity:latest
|
image: forgejo.ellis.link/continuwuation/continuwuity:latest
|
||||||
@@ -27,7 +24,7 @@ services:
|
|||||||
- ./continuwuity-resolv.conf:/etc/resolv.conf # use custom resolvers rather than Docker's
|
- ./continuwuity-resolv.conf:/etc/resolv.conf # use custom resolvers rather than Docker's
|
||||||
#- ./continuwuity.toml:/etc/continuwuity.toml
|
#- ./continuwuity.toml:/etc/continuwuity.toml
|
||||||
environment:
|
environment:
|
||||||
CONTINUWUITY_SERVER_NAME: example.com # EDIT THIS
|
CONTINUWUITY_SERVER_NAME: example.com
|
||||||
CONTINUWUITY_DATABASE_PATH: /var/lib/continuwuity
|
CONTINUWUITY_DATABASE_PATH: /var/lib/continuwuity
|
||||||
CONTINUWUITY_ADDRESS: 0.0.0.0
|
CONTINUWUITY_ADDRESS: 0.0.0.0
|
||||||
CONTINUWUITY_PORT: 8008
|
CONTINUWUITY_PORT: 8008
|
||||||
|
|||||||
@@ -13,12 +13,12 @@ services:
|
|||||||
- proxy
|
- proxy
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.continuwuity.rule=(Host(`matrix.example.com`) || (Host(`example.com`) && PathPrefix(`/.well-known/matrix`)))"
|
- "traefik.http.routers.continuwuity.rule=(Host(`example.com`))"
|
||||||
- "traefik.http.routers.continuwuity.entrypoints=websecure"
|
- "traefik.http.routers.continuwuity.entrypoints=websecure"
|
||||||
- "traefik.http.routers.continuwuity.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.continuwuity.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.services.continuwuity.loadbalancer.server.port=8008"
|
- "traefik.http.services.continuwuity.loadbalancer.server.port=8008"
|
||||||
environment:
|
environment:
|
||||||
CONTINUWUITY_SERVER_NAME: example.com # EDIT THIS
|
CONTINUWUITY_SERVER_NAME: example.com
|
||||||
CONTINUWUITY_DATABASE_PATH: /var/lib/continuwuity
|
CONTINUWUITY_DATABASE_PATH: /var/lib/continuwuity
|
||||||
CONTINUWUITY_ADDRESS: 0.0.0.0
|
CONTINUWUITY_ADDRESS: 0.0.0.0
|
||||||
CONTINUWUITY_PORT: 8008 # This must match with traefik's loadbalancer label
|
CONTINUWUITY_PORT: 8008 # This must match with traefik's loadbalancer label
|
||||||
|
|||||||
Reference in New Issue
Block a user