Sign inSign up

johnstarich/matrix-pantalaimon

By johnstarich

Updated almost 4 years ago

Wraps Matrix's pantalaimon service with an env-based config.

Image
0

679

johnstarich/matrix-pantalaimon repository overview

docker-matrix-pantalaimon

Wraps Matrix's pantalaimon service with an env-based config.

Quick Start

Run as a single Docker container, or something like a Docker stack.

Do NOT expose pantalaimon's port to your Matrix users. It must only be accessible to your bots and bridges.

  1. Deploy pantalaimon
  2. Point your bridges or bots at pantalaimon instead of the usual Matrix homserver URL
  3. Log in via pantalaimon's URL manually for one-time setup.
Docker
# Remember to block the port from your Matrix users
docker run --rm -it \
    --name pantalaimon \
    -p "8008:8008" \
    -e MATRIX_URL=https://example.com \
    -v pantalaimon:/data \
    johnstarich/matrix-pantalaimon:0.9.2_20210425
Docker Stack
version: "3"

services:
  pantalaimon:
    image: johnstarich/matrix-pantalaimon:0.9.2_20210425
    # Remember to block the port from your Matrix users
    ports:
    - "8008:8008"
    environment:
    - MATRIX_URL=https://example.com
    volumes:
    - pantalaimon:/data

volumes:
  pantalaimon:
First-time setup

To set up an E2EE bridge with pantalaimon for the first time, you must log in manually once.

One method is to exec into the pantalaimon container, install curl, and then run this with the bot user's credentials:

# Don't forget to replace ${BOT_*} with the correct values for your bot.
curl -XPOST -d '{"type":"m.login.password", "user":"${BOT_USER}", "password":"${BOT_PASS}"}' "http://localhost:8008/_matrix/client/r0/login"

Tag summary

Content type

Image

Digest

sha256:8e61e905a

Size

70.9 MB

Last updated

almost 4 years ago

docker pull johnstarich/matrix-pantalaimon