mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-28 15:09:26 +01:00
Updated wiki to reflect changes from https://github.com/42wim/matterbridge/pull/1148
parent
adad2936d2
commit
6a5f519603
@ -1,23 +1,23 @@
|
||||
## Docker
|
||||
|
||||
Create your matterbridge.toml file locally eg in `/tmp/matterbridge.toml`.
|
||||
Create your matterbridge.toml file locally eg in `./matterbridge/matterbridge.toml`.
|
||||
|
||||
```bash
|
||||
docker run -ti -v /tmp/matterbridge.toml:/matterbridge.toml 42wim/matterbridge
|
||||
docker run -ti -v ./matterbridge:/etc/matterbridge 42wim/matterbridge
|
||||
```
|
||||
|
||||
## Docker Compose
|
||||
|
||||
Create your matterbridge.toml file locally for example in `/tmp/matterbridge.toml` and use this yaml as `docker-compose.yml`.
|
||||
Create your matterbridge.toml file locally for example in `./matterbridge/matterbridge.toml` and use this yaml as `docker-compose.yml`.
|
||||
|
||||
```yml
|
||||
version: '3'
|
||||
version: '3.7'
|
||||
services:
|
||||
matterbridge:
|
||||
image: 42wim/matterbridge
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /tmp/matterbridge.toml:/matterbridge.toml
|
||||
- ./matterbridge:/etc/matterbridge
|
||||
```
|
||||
|
||||
Afterwards start the container with `docker-compose up`.
|
||||
Afterwards start the container with `docker-compose up -d`.
|
Loading…
Reference in New Issue
Block a user