Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Install jemalloc in docker image (#8553) | Mathieu Velten | 2021-03-16 | 1 | -2/+10 |
| | | | | Co-authored-by: Will Hunt <willh@matrix.org> Co-authored-by: Erik Johnston <erik@matrix.org> | ||||
* | Docker: support passing additional commandline args to synapse (#8390) | Samuel Philipp | 2020-10-11 | 1 | -17/+28 |
| | |||||
* | Switch to Debian:Slim from Alpine for the docker image (#7839) | Christopher May-Townsend | 2020-07-17 | 1 | -6/+6 |
| | | | As mentioned in #7397, switching to a debian base should help with multi-arch work to save time on compiling. This is unashamedly based on #6373, but without the extra functionality. Switch python version back to generic 3.7 to always pull the latest. Essentially, keeping this as small as possible. The image is bigger though unfortunately. | ||||
* | Kill off deprecated "config-on-the-fly" docker mode (#6918) | Richard van der Hoff | 2020-02-18 | 1 | -31/+18 |
| | | | | | Lots of people seem to get confused by this mode, and it's been deprecated since Synapse 1.1.0. It's time for it to go. | ||||
* | Docker: Change permissions for data dir before attempting to write to it (#6389) | Andrew Morgan | 2019-11-20 | 1 | -3/+3 |
| | |||||
* | Clarify environment variable usage when running in Docker (#6181) | Anton Lazarev | 2019-10-30 | 1 | -2/+3 |
| | |||||
* | Docker: support SYNAPSE_WORKER envvar (#6058) | Michael Kaye | 2019-09-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | * Allow passing SYNAPSE_WORKER envvar * changelog.d * Document SYNAPSE_WORKER. Attempting to imply that you don't need to change this default unless you're in worker mode. Also aware that there's a bigger problem of attempting to document a complete working configuration of workers using docker, as we currently only document to use `synctl` for worker mode, and synctl doesn't work that way in docker. | ||||
* | Docker packaging should not su-exec or chmod if already running as UID/GID ↵ | Michael Kaye | 2019-09-03 | 1 | -35/+49 |
| | | | | | | | | (#5970) Adjust su-exec to only be used if needed. If UID == getuid() and GID == getgid() then we do not need to su-exec, and chmod will not work. | ||||
* | Docker image: Add a migrate_config mode (#5567) | Richard van der Hoff | 2019-06-27 | 1 | -16/+40 |
| | | | ... to help people escape env var hell | ||||
* | Docker image: open the non-TLS port by default. (#5568) | Richard van der Hoff | 2019-06-27 | 1 | -0/+1 |
| | | | There's not much point in binding to localhost when it's in a docker container. | ||||
* | Deprecate the env var way of running the docker image (#5566) | Richard van der Hoff | 2019-06-27 | 1 | -6/+26 |
| | | | | | This is mostly a documentation change, but also adds a default value for SYNAPSE_CONFIG_PATH, so that running from the generated config is the default, and will Just Work provided your config is in the right place. | ||||
* | Merge pull request #5565 from matrix-org/rav/docker/fix_log_config | Richard van der Hoff | 2019-06-27 | 1 | -1/+11 |
|\ | | | | | Docker: generate our own log config | ||||
| * | Docker: generate our own log config | Richard van der Hoff | 2019-06-26 | 1 | -1/+8 |
| | | | | | | | | | | | | When running under docker, we want to use docker's own logging stuff rather than losing the logs somewhere on the container's filesystem, so let's use log configs that spit logs out to stdout instead. | ||||
| * | Add support for SYNAPSE_CONFIG_DIR | Richard van der Hoff | 2019-06-26 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #5563 from matrix-org/rav/docker/data_dir | Richard van der Hoff | 2019-06-27 | 1 | -4/+13 |
|\| | | | | | Docker image: add support for SYNAPSE_DATA_DIR parameter | ||||
| * | Docker image: add support for SYNAPSE_DATA_DIR parameter | Richard van der Hoff | 2019-06-26 | 1 | -4/+13 |
| | | | | | | | | Fixes #4830. | ||||
* | | Docker: only run --generate-keys when generating config on-the-fly. | Richard van der Hoff | 2019-06-26 | 1 | -7/+21 |
| | | | | | | | | | | | | | | | | | | We don't want to generate any missing configs when running from a precanned config. (There's a strong argument that we don't want to do this at all, since generating a new signing key on each invocation sounds disasterous, but I don't fancy unpicking that for now.) | ||||
* | | improve logging for generate_config_from_template | Richard van der Hoff | 2019-06-26 | 1 | -1/+2 |
|/ | |||||
* | isort | Richard van der Hoff | 2019-06-25 | 1 | -4/+5 |
| | |||||
* | Add a main() function | Richard van der Hoff | 2019-06-25 | 1 | -8/+11 |
| | |||||
* | Factor out a run_generate_config function | Richard van der Hoff | 2019-06-25 | 1 | -17/+28 |
| | |||||
* | Factor out "generate_config_from_template" | Richard van der Hoff | 2019-06-25 | 1 | -41/+81 |
| | | | | ... and inline generate_secrets | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -19/+39 |
| | |||||
* | Fix handling of SYNAPSE_NO_TLS in docker image (#5005) | *=0=1=4=* | 2019-04-25 | 1 | -0/+12 |
| | |||||
* | Enable ACME support in the docker image (#4566) | Richard van der Hoff | 2019-02-05 | 1 | -4/+14 |
| | | | | | | | Also: * Fix wrapping in docker readme * Clean up some docs on the docker image * a workaround for #4554 | ||||
* | make python 3 work in the docker container | Jan Christian Grünhage | 2018-09-20 | 1 | -1/+2 |
| | |||||
* | Refactor docker locations and README. | Michael Kaye | 2018-08-02 | 1 | -0/+66 |
This addresses #3224 |