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: services:
synapse: synapse:
build: ../.. build:
context: ../..
dockerfile: docker/Dockerfile
image: docker.io/matrixdotorg/synapse:latest 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 # failure
restart: unless-stopped restart: unless-stopped
# See the readme for a full documentation of the environment settings # See the readme for a full documentation of the environment settings