Fix build of Docker image with docker-compose

... and fix a typo
This commit is contained in:
Luca Weiss 2018-08-31 14:40:17 +02:00
parent b60749a1ec
commit a40802bcbc
No known key found for this signature in database
GPG Key ID: 85E3F341DDEC37A8

View File

@ -6,9 +6,11 @@ version: '3'
services:
synapse:
build: ../..
build:
context: ../..
dockerfile: docker/Dockerfile
image: docker.io/matrixdotorg/synapse:latest
# Since snyapse does not retry to connect to the database, restart upon
# Since synapse does not retry to connect to the database, restart upon
# failure
restart: unless-stopped
# See the readme for a full documentation of the environment settings