Code Monkey home page Code Monkey logo

docker-matrix-pantalaimon's Introduction

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"

docker-matrix-pantalaimon's People

Contributors

johnstarich avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

docker-matrix-pantalaimon's Issues

Path does not exist

Hello, i am getting this error when trying to run docker like

docker run -it --rm -v pantalaimon:/data -p 8009:8009 pantalaimon

Error: Invalid value for '-c' / '--config': Path '/data/pantalaimon.conf' does not exist.

i have created the path in this directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.