2024-02-17 19:01:04 +01:00
|
|
|
services:
|
|
|
|
synapse:
|
|
|
|
container_name: synapse
|
2024-03-02 12:13:30 +01:00
|
|
|
image: docker.io/matrixdotorg/synapse:latest
|
2024-02-17 19:01:04 +01:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
UID: {{ users['synapse'] }}
|
|
|
|
GID: {{ users['synapse'] }}
|
|
|
|
TZ: {{ timezone }}
|
|
|
|
ports:
|
2024-02-18 22:19:55 +01:00
|
|
|
- 127.0.0.1:{{ ports['synapse'] }}:8008
|
2024-02-17 19:01:04 +01:00
|
|
|
volumes:
|
|
|
|
- {{ volumes['synapse_datadir'] }}:/data
|
|
|
|
- ./homeserver.yaml:/data/homeserver.yaml
|