Add docker-compose docs
This commit is contained in:
parent
893982e0ad
commit
f4a36a3ce7
2 changed files with 55 additions and 0 deletions
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
version: "3.8"
|
||||
services:
|
||||
bot:
|
||||
image: registry.gitlab.com/guardianproject-ops/matrix-ops-bot:main
|
||||
environment:
|
||||
MATRIX_HOMESERVER: "https://matrix.org"
|
||||
MATRIX_USER_ID: "@YOURBOT:matrix.org"
|
||||
MATRIX_PASSWORD: "changeme"
|
||||
MATRIX_DEVICE_NAME: "my-bot-server"
|
||||
BOT_BEARER_TOKEN: "changeme"
|
||||
BOT_ROUTING_KEYS: >
|
||||
{"room1": "!XXXX:matrix.org", "room2": "!YYYYY:matrix.org"}
|
||||
user: "1000"
|
||||
ports:
|
||||
- "0.0.0.0:1111:1111"
|
||||
volumes:
|
||||
- /home/admin/bot/data:/data:rw
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "100m"
|
||||
max-file: "3"
|
||||
Loading…
Add table
Add a link
Reference in a new issue