diff --git a/synapse/docker-compose.yml b/synapse/docker-compose.yml index edd1a9e..2a1315e 100644 --- a/synapse/docker-compose.yml +++ b/synapse/docker-compose.yml @@ -6,6 +6,7 @@ services: build: context: . dockerfile: Dockerfile + container_name: synapse image: docker.io/matrixdotorg/synapse:latest # Since synapse does not retry to connect to the database, restart upon # failure @@ -39,6 +40,7 @@ services: sliding-sync: image: ghcr.io/matrix-org/sliding-sync:latest + container_name: matrix-sliding-sync restart: unless-stopped volumes: - /var/run/postgresql/:/run/postgresql:rw @@ -56,6 +58,7 @@ services: mautrix-telegram: image: dock.mau.dev/mautrix/telegram:latest + container_name: mautrix-telegram restart: unless-stopped volumes: - ./mautrix-telegram_data:/data:z @@ -65,6 +68,7 @@ services: mautrix-whatsapp: image: dock.mau.dev/mautrix/whatsapp:latest + container_name: mautrix-whatsapp restart: unless-stopped volumes: - ./mautrix-whatsapp_data:/data:z @@ -74,6 +78,7 @@ services: element: image: vectorim/element-web:latest + container_name: matrix-element restart: unless-stopped volumes: - ./element-web/config.json:/app/config.json:ro