adding untested changes and new dockers
This commit is contained in:
37
social/matrix-discord-bridge/docker-compose.yml
Normal file
37
social/matrix-discord-bridge/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
mautrix-discord:
|
||||
container_name: mautrix-discord
|
||||
image: dock.mau.dev/mautrix/discord:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data:/data
|
||||
|
||||
ports:
|
||||
- "29334:29334"
|
||||
|
||||
networks:
|
||||
synapse_default:
|
||||
|
||||
mautrix-discord-db:
|
||||
image: docker.io/postgres:15-alpine
|
||||
container_name: mautrix-discord-db
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
# ensure the database gets created correctly
|
||||
# https://github.com/matrix-org/synapse/blob/master/docs/postgres.md#set-up-database
|
||||
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
||||
volumes:
|
||||
# You may either store all the files in a local folder
|
||||
- ./db:/var/lib/postgresql/data
|
||||
ports:
|
||||
- 5432:5432
|
||||
networks:
|
||||
synapse_default:
|
||||
|
||||
networks:
|
||||
synapse_default:
|
||||
Reference in New Issue
Block a user