mirror of
https://github.com/Thumbscrew/matrix-homeserver-docker-compose.git
synced 2025-01-18 17:45:46 +00:00
add intial working docker-compose.yaml
This commit is contained in:
parent
1991bf089c
commit
30b2101099
8
.env.example
Normal file
8
.env.example
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
IMAGE_TAG=latest
|
||||||
|
SERVER_NAME=localhost
|
||||||
|
HTTP_PORT=8008
|
||||||
|
CONFIG_DIR=/data
|
||||||
|
CONFIG_FILE_NAME=homeserver.yaml
|
||||||
|
UID=991
|
||||||
|
GID=991
|
||||||
|
TZ=UTC
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.env
|
17
docker-compose.yaml
Normal file
17
docker-compose.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
volumes:
|
||||||
|
synapse-data:
|
||||||
|
|
||||||
|
services:
|
||||||
|
synapse:
|
||||||
|
image: matrixdotorg/synapse:${IMAGE_TAG}
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- synapse-data:${CONFIG_DIR}
|
||||||
|
environment:
|
||||||
|
SYNAPSE_CONFIG_DIR: ${CONFIG_DIR}
|
||||||
|
SYNAPSE_CONFIG_PATH: ${CONFIG_DIR}/${CONFIG_FILE_NAME}
|
||||||
|
UID: ${UID}
|
||||||
|
GID: ${GID}
|
||||||
|
TZ: ${TZ}
|
||||||
|
ports:
|
||||||
|
- ${HTTP_PORT}:8008
|
Loading…
Reference in New Issue
Block a user