Merge pull request #3778 from z3ntu/patch-1

Fix build of Docker image with docker-compose
This commit is contained in:
Richard van der Hoff 2018-11-01 17:34:56 +00:00 committed by GitHub
commit 3149d55b7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

1
changelog.d/3778.misc Normal file
View file

@ -0,0 +1 @@
Fix build of Docker image with docker-compose

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