mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-24 21:19:32 +01:00
Updated wiki to reflect changes from https://github.com/42wim/matterbridge/pull/1148
parent
adad2936d2
commit
6a5f519603
@ -1,23 +1,23 @@
|
|||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
Create your matterbridge.toml file locally eg in `/tmp/matterbridge.toml`.
|
Create your matterbridge.toml file locally eg in `./matterbridge/matterbridge.toml`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -ti -v /tmp/matterbridge.toml:/matterbridge.toml 42wim/matterbridge
|
docker run -ti -v ./matterbridge:/etc/matterbridge 42wim/matterbridge
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker Compose
|
## 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
|
```yml
|
||||||
version: '3'
|
version: '3.7'
|
||||||
services:
|
services:
|
||||||
matterbridge:
|
matterbridge:
|
||||||
image: 42wim/matterbridge
|
image: 42wim/matterbridge
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
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