version: '3' services: synapse: image: matrixdotorg/synapse:${SYNAPSE_VERSION} ports: - "8008:8008/tcp" volumes: - /mnt/synapse_data:/data - ./config:/config command: - run - --config-path=/config/homeserver.yaml # - --config-path=/config/generic_worker.yaml restart: always