Initial Commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{{WORKER_NAME}}:
|
||||
image: ghcr.io/element-hq/synapse:latest
|
||||
container_name: "{{WORKER_NAME}}"
|
||||
user: ${USER_ID}:${GROUP_ID}
|
||||
restart: unless-stopped
|
||||
entrypoint: ["/start.py", "run", "--config-path=/data/homeserver.yaml", "--config-path=/data/workers/{{WORKER_NAME}}.yaml"]
|
||||
networks:
|
||||
- matrix_network
|
||||
volumes:
|
||||
- ${VOLUME_PATH}/synapse:/data:rw
|
||||
- ${VOLUME_PATH}/synapse/logs:/var/log/synapse:rw
|
||||
environment:
|
||||
SYNAPSE_WORKER: {{APP_TYPE}}
|
||||
depends_on:
|
||||
- synapse
|
||||
- db
|
||||
- redis
|
||||
ports:
|
||||
- "{{PORT}}:{{PORT}}"
|
||||
{{TRAEFIK_LABELS}}
|
||||
Reference in New Issue
Block a user