[synapse] Fix container not shutting down properly

This commit is contained in:
Viyurz 2024-10-16 20:26:53 +02:00
parent e2f57c37bc
commit 8080a2d87a
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -1,7 +1,7 @@
services:
synapse:
container_name: synapse
entrypoint: ["sh", "-c", "curl -s -f --retry 7 --retry-all-errors https://kc.viyurz.fr/; /start.py"]
entrypoint: ["sh", "-c", "curl -s -f --retry 7 --retry-all-errors https://kc.${env['domain']}/; exec /start.py"]
image: docker.io/matrixdotorg/synapse:latest
network_mode: pasta:-a,${env['pasta']['synapse']['ipv4']},-a,${env['pasta']['synapse']['ipv6']}
restart: always