Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

turt2live/matrix-oauth-demo

Repository files navigation

matrix-oauth-demo

A demo webservice for https:/turt2live/matrix-oauth

Running

The best deployment option is Docker:

# Create the directory for mounting to the container
mkdir -p /etc/matrix-oauth-demo/config

# Create/edit the configuration file with your favourite editor. Use
# the default.yaml config file in this repo as a template.
vi /etc/matrix-oauth-demo/config/production.yaml

# Run the container
docker run -v /etc/matrix-oauth-demo:/data -p 8080:8080 turt2live/matrix-oauth-demo

Note that you'll need to set up your own reverse proxy for handling SSL. The Docker command above might not be perfect for your environment, but it covers the part where it has a port to expose and a volume to mount.