matrix-org / matrix-bifrost

General purpose bridging with a variety of backends including libpurple and xmpp.js
Apache License 2.0
162 stars 31 forks source link

Docker Config Files #332

Open bijoni opened 1 year ago

bijoni commented 1 year ago

I have just built docker matrix-bifrost by using Dockerfile.

ubuntu@u:~/matrix-bifrost$ ls -l
total 300
-rw-rw-r-- 1 ubuntu ubuntu  10839 Jul  4 16:01 CHANGELOG.md
-rw-rw-r-- 1 ubuntu ubuntu    381 Jul  4 16:01 CONTRIBUTING.md
-rw-rw-r-- 1 ubuntu ubuntu   1428 Jul  4 16:01 Dockerfile
-rw-rw-r-- 1 ubuntu ubuntu  11357 Jul  4 16:01 LICENSE
-rw-rw-r-- 1 ubuntu ubuntu   5548 Jul  4 16:01 README.md
drwxrwxr-x 2 ubuntu ubuntu   4096 Jul  4 16:01 changelog.d
drwxrwxr-x 2 ubuntu ubuntu   4096 Jul  4 16:22 config
-rw-rw-r-- 1 ubuntu ubuntu   6699 Jul  4 16:01 config.sample.yaml
drwxrwxr-x 3 ubuntu ubuntu   4096 Jul  4 16:01 extras
-rw-rw-r-- 1 ubuntu ubuntu   2872 Jul  4 16:01 package.json
-rw-rw-r-- 1 ubuntu ubuntu    801 Jul  4 16:01 pyproject.toml
drwxrwxr-x 2 ubuntu ubuntu   4096 Jul  4 16:01 scripts
drwxrwxr-x 6 ubuntu ubuntu   4096 Jul  4 16:01 src
-rwxrwxr-x 1 ubuntu ubuntu    178 Jul  4 16:01 start.sh
drwxrwxr-x 4 ubuntu ubuntu   4096 Jul  4 16:01 test
-rw-rw-r-- 1 ubuntu ubuntu    366 Jul  4 16:01 tsconfig.json
-rw-rw-r-- 1 ubuntu ubuntu 215168 Jul  4 16:01 yarn.lock
ubuntu@u:~/matrix-bifrost$ 
ubuntu@u:~/matrix-bifrost$ sudo docker build - . -t bifrost:latest

However, I do not know where to find the config files. i.e. config.yaml, registration.yaml

Still don't know how to start the docker container. docker run -v /your/path/to/data:/data bifrost:latest -p 5000:9555

Please advise. Thank you!