6 Commits

5 changed files with 38 additions and 12 deletions

View File

@ -7,6 +7,8 @@ DOMAIN=maubot.example.com
LETS_ENCRYPT_ENV=production
ENABLE_BACKUPS=true
HOMESERVER_HOST=matrix.org
# Client-server API URL
HOMESERVER_URL=https://matrix-client.matrix.org
@ -15,4 +17,5 @@ ADMIN_USER_NAME=admin
## Secrets
SECRET_ADMIN_PASSWORD_VERSION=v1
SECRET_HOMESERVER_REGISTRATION_VERSION=v1
SECRET_HOMESERVER_REGISTRATION_VERSION=v1

View File

@ -54,5 +54,14 @@ This will show an url to sign in via ssh. After sso-login the user will be a bot
Now you are ready to go to create an instance (i.e. a plugin connected to a bot user) via web interface.
### 3. plugin development
Plugin / Bot development is quite straight forward.
needed: `mbc`
abra commands:
`mbc login`
`mbc build -u -s`
## More
For more, see official documentation of maubot [`docs.mau.fi/maubot`](https://docs.mau.fi/maubot/).

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: dock.mau.dev/maubot/maubot:0.5.1
image: dock.mau.dev/maubot/maubot:v0.6.0
environment:
- HOMESERVER_HOST
- HOMESERVER_URL
@ -30,16 +30,23 @@ services:
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
## Redirect from EXTRA_DOMAINS to DOMAIN
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=1.0.0+0.5.1"
#healthcheck:
#test: ["CMD", "curl", "-f", "http://localhost"]
#interval: 30s
#timeout: 10s
#retries: 10
#start_period: 1m
- "traefik.http.middlewares.${STACK_NAME}-redirecthostname.redirectregex.regex=^http[s]?://([^/]*)/(.*)"
- "traefik.http.middlewares.${STACK_NAME}-redirecthostname.redirectregex.replacement=https://${DOMAIN}/$${2}"
- "traefik.http.middlewares.${STACK_NAME}-redirecthostname.redirectregex.permanent=true"
## Redirect HTTP to HTTPS
- "traefik.http.middlewares.${STACK_NAME}-redirectscheme.redirectscheme.scheme=https"
- "traefik.http.middlewares.${STACK_NAME}-redirectscheme.redirectscheme.permanent=true"
## When you're ready for release, run "abra recipe sync <name>" to set this
- "coop-cloud.${STACK_NAME}.version=1.1.0+v0.6.0"
## Enable backups: https://docs.coopcloud.tech/maintainers/handbook/#how-do-i-configure-backuprestore
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://0.0.0.0:29316/_matrix/maubot/"]
interval: 30s
timeout: 10s
retries: 10
start_period: 1m
networks:
proxy:

1
release/1.0.1+v0.5.1 Normal file
View File

@ -0,0 +1 @@
image name correctioni

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}