Giter VIP home page Giter VIP logo

appservice-slack-docker's Introduction

Matrix Appservice Slack: Docker

This container exposes two volumes /config and /data it expects the config file to be /config/config.json.

You will want your config file to contain the line:

dbdir: /data
  1. Clone this repo.
  2. Write a config.yaml file.
  3. Build the container: docker build -t asslack .
  4. Assuming you are running this from a directory with a config.yaml file in it you can do the following to generate a registration yaml file: docker run -v /myconfigdir/:/config -t asslack -r -f /config/slack-registration.yaml -u "http://myhomeserver:5858"
  5. You can then run the appservice with docker run -p 9898:9898 -p 5858:5858 -v /myconfigdir/:/config -v /mydatadir:/data -t asslack

If you want to change the path of the registration file, you can override the option from the command line, but you will also need to set the port to 5858:

docker run -p 9898:9898 -p 5858:5858 -v /myconfigdir/:/config -v /mydatadir:/data -t asslack -p 5858 -f /config/myregistration.yaml

This requires your appservice port to be 5858.

appservice-slack-docker's People

Contributors

cadair avatar

Watchers

 avatar

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.