mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2025-12-17 21:26:17 +00:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
12
matrix/.env
Normal file
12
matrix/.env
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Matrix
|
||||
MATRIX_PORT=
|
||||
MATRIX_DBNAME=
|
||||
MATRIX_DBUSER=
|
||||
MATRIX_DBPASS=
|
||||
33
matrix/docker-compose.yaml
Normal file
33
matrix/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
services:
|
||||
|
||||
# Matrix (https://github.com/element-hq/synapse)
|
||||
# register_new_matrix_user -c homeserver.yaml http://localhost:8008
|
||||
matrix:
|
||||
image: ${REGISTRY}/synapse
|
||||
container_name: matrix
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${MATRIX_PORT:-8008}:8008
|
||||
volumes:
|
||||
- ./data:/data:rw
|
||||
depends_on:
|
||||
- matrix-postgresql
|
||||
networks:
|
||||
- matrix
|
||||
matrix-postgresql:
|
||||
image: ${REGISTRY}/postgres
|
||||
container_name: matrix-postgresql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: ${MATRIX_DBNAME:-synapse}
|
||||
POSTGRES_USER: ${MATRIX_DBUSER:-synapse}
|
||||
POSTGRES_PASSWORD: ${MATRIX_DBPASS:-synapse}
|
||||
POSTGRES_INITDB_ARGS: --encoding=UTF8 --locale=C
|
||||
volumes:
|
||||
- ./sql:/var/lib/postgresql/data:rw
|
||||
networks:
|
||||
- matrix
|
||||
|
||||
networks:
|
||||
matrix:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue