rocketchat2matrix/docker-compose.yaml
Renovate Bot 654906ad8b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Renovate: Update all non-major dependencies
2024-04-17 12:58:28 +02:00

49 lines
1.8 KiB
YAML

version: '3'
services:
synapse:
image: docker.io/matrixdotorg/synapse:v1.105.0@sha256:cbd56af58232394066d3ab9e55316ac92ed4b8b9392a829812e333f5178be6c0
# Since synapse does not retry to connect to the database, restart upon
# failure
restart: 'no'
# See the readme for a full documentation of the environment settings
# NOTE: You must edit homeserver.yaml to use postgres, it defaults to sqlite
environment:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
volumes:
# You may either store all the files in a local folder
- ./files:/data
# .. or you may split this between different storage points
# - ./files:/data
# - /path/to/ssd:/data/uploads
# - /path/to/large_hdd:/data/media
# depends_on:
# - db
# In order to expose Synapse, remove one of the following, you might for
# instance expose the TLS port directly:
ports:
- 8008:8008/tcp
# db:
# image: docker.io/postgres:12-alpine
# # Change that password, of course!
# environment:
# - POSTGRES_USER=synapse
# - POSTGRES_PASSWORD=changeme
# # ensure the database gets created correctly
# # https://matrix-org.github.io/synapse/latest/postgres.html#set-up-database
# - POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
# volumes:
# # You may store the database tables in a local folder..
# - ./schemas:/var/lib/postgresql/data
# # .. or store them on some high performance storage for better results
# # - /path/to/ssd/storage:/var/lib/postgresql/data
synapse-admin:
container_name: synapse-admin
hostname: synapse-admin
image: awesometechnologies/synapse-admin:0.9.1@sha256:92b9346e514dd2cbde0c3d89f0f3120c16bd832dab1bfa232ba380f6a9499e4d
ports:
- '8080:80'
restart: 'no'