matrix-org / sygnal

Sygnal: reference Push Gateway for Matrix
Apache License 2.0
164 stars 147 forks source link

can't run using docker #299

Closed SyukurCode closed 2 years ago

SyukurCode commented 2 years ago

Hi, why i got this when run Dockerfile,

FileNotFoundError: [Errno 2] No such file or directory: 'sygnal.yaml'

how to configure the directory for sygnal.yaml?

squahtx commented 2 years ago

You can use the --volume option to mount your sygnal config file inside the container. eg. sudo docker run --volume /full/path/to/sygnal/config.yaml:/sygnal.yaml matrixdotorg/sygnal