Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Clarify environment variable usage when running in Docker (#6181)
Browse files Browse the repository at this point in the history
* commit '213d7eb22':
  Clarify environment variable usage when running in Docker (#6181)
  • Loading branch information
anoadragon453 committed Mar 16, 2020
2 parents b3564c9 + 213d7eb commit 8be0e37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,9 @@ def main(args, environ):
# backwards-compatibility generate-a-config-on-the-fly mode
if "SYNAPSE_CONFIG_PATH" in environ:
error(
"SYNAPSE_SERVER_NAME and SYNAPSE_CONFIG_PATH are mutually exclusive "
"except in `generate` or `migrate_config` mode."
"SYNAPSE_SERVER_NAME can only be combined with SYNAPSE_CONFIG_PATH "
"in `generate` or `migrate_config` mode. To start synapse using a "
"config file, unset the SYNAPSE_SERVER_NAME environment variable."
)

config_path = "/compiled/homeserver.yaml"
Expand Down

0 comments on commit 8be0e37

Please sign in to comment.