Commit Graph

36 Commits

Author SHA1 Message Date
Tianon Gravi 2802b665bc Update to Erlang 22 (and drop HiPE support) 2019-05-31 16:44:41 -07:00
Brian Fink a7f1cedb9e #294: Allow RABBITMQ_VM_MEMORY_HIGH_WATERMARK to be set 0 2019-02-28 13:40:19 -06:00
Joe Ferguson 5bfde9806e Initial single-stage conversion (and merge/diff back to Alpine) 2019-01-24 14:45:58 -08:00
Tianon Gravi 366975d808 Add Alpine WIP 2017-01-26 15:22:10 -08:00
Tianon Gravi 3ba4ec4db3 Use consistent variable naming and adjust configuration written to include "load_definitions" in the proper place 2017-01-11 12:05:55 -08:00
cavemandaveman d72594a539 Add handling of a definitions file 2016-10-10 13:05:18 -05:00
Matthias Thubauville 29121864d4 Fix #102 - ERL_ARGS not exported correctly 2016-08-19 09:37:03 +02:00
Tianon Gravi 01cebb700e Fix management SSL issues (needs separate "verify" and "fail_if_no_peer_cert" defaults) 2016-07-07 16:29:56 -07:00
Tianon Gravi 3569ec7f11 Fix the level at which we inject the "rabbitmq_management" configuration
Fixes #96
2016-07-07 15:11:47 -07:00
Tianon Gravi ab3b8b85c1 Completely refactor configuration handling, including adding support for RABBITMQ_SSL_VERIFY and RABBITMQ_SSL_FAIL_IF_NO_PEER_CERT and better error handling 2016-07-06 21:31:32 -07:00
Tianon Gravi f1bfb7c795 More whitespace beautification 2016-07-06 17:36:37 -07:00
Tianon Gravi 264bbc0a9e Fix whitespace inconsistencies 2016-07-06 17:26:36 -07:00
Tianon Gravi fbe1b1ad9f Refactor configuration handling a little (reuse the "config check" loop for SSL configuration checking) 2016-07-06 17:19:34 -07:00
Tianon Gravi 121694b707 Simplify env-to-config conversion code 2016-07-05 16:51:56 -07:00
Artur Stawiarski 707c2a0e91 Added support for enabling HiPE compiler through HIPE_COMPILE environment variable 2016-07-05 16:49:59 -07:00
yosifkit ca2164c90a Merge pull request #90 from infosiftr/always-ssl
Adjust entrypoint to gosu any rabbitmq command (rabbitmq-server and rabbitmqctl both) and to always set SSL-related environment variables
2016-07-05 16:09:37 -07:00
Tianon Gravi 3b60e68488 Fix minor whitespace consistency nits 2016-07-05 15:33:17 -07:00
Tianon Gravi a15230d7ea Adjust entrypoint to gosu any rabbitmq command (rabbitmq-server and rabbitmqctl both) and to always set SSL-related environment variables
This allows for `docker exec my-rabbit docker-entrypoint.sh rabbitmqctl status` to work out-of-the-box on an SSL-enabled installation, or for the same `-e` flags on a second `docker run` with `rabbitmqctl` to setup the environment appropriately for connecting to the initial SSL-enabled instance.
2016-07-05 15:25:21 -07:00
Tom Noonan II 55609c777d Improve formatting of management config block: break common closing brackets out of conditional and clean up whitespace of the SSL block 2016-02-19 23:28:20 -07:00
Tianon Gravi d9c4635649 Fix minor comment typo 2016-01-18 12:31:33 -08:00
Joe Ferguson 39be622d85 Only be root when necessary, so that `--user` works 2016-01-14 16:14:25 -08:00
Joe Ferguson 27b93617e5 ssl env vars should also trigger the haveConfig 2016-01-04 12:43:45 -08:00
Helio Leonardo Pinheiro E. Mota b8fc6e5fe4 fixed ownership of ssl certificates 2015-12-31 10:15:44 -02:00
Tianon Gravi 60e5665854 Rebase, fix minor whitespace/quoting niggles 2015-11-23 11:10:55 -08:00
Vladimir Bolshakov dd926c704d Clean-up bash variables usage and comparisions. 2015-11-23 11:08:48 -08:00
Vladimir Bolshakov dc712681dc No more use additional environment variable to check management plugin installation. 2015-11-23 11:08:48 -08:00
Vladimir Bolshakov a1595d15c8 Rename RABBIT_MANAGEMENT_ENABLED to RABBITMQ_MANAGEMENT_ENABLED. 2015-11-23 11:08:48 -08:00
Vladimir Bolshakov f409458fec No more used Bash extensions in conditions of entrypoint.
Strict usage of shell parameter expansion.
Rename variables RABBIT_* to RABBITMQ_*.
2015-11-23 11:08:48 -08:00
Vladimir Bolshakov d8597c78c9 Entrypoint supports generation config with SSL settings now (for management too). 2015-11-23 11:08:47 -08:00
Vladimir Bolshakov df7dfeceb8 Support of fully qualified names to identify nodes. 2015-11-23 11:08:47 -08:00
Tianon Gravi df489e80ce Update to 3.5.5, removing tini 2015-09-24 11:10:52 -07:00
Tianon Gravi bb91e64b56 Add tini for handling signals appropriately
This is a short-term workaround while we wait for upstream to implement proper handling of SIGTERM.
2015-07-24 13:24:49 -07:00
Tianon Gravi aae4d2b977 Improve ".erlang.cookie" file management by adding RABBITMQ_ERLANG_COOKIE for specifying it directly
This allows for direct, simple control over the contents of the `.erlang.cookie` file, which allows for much simpler container interconnections.

This also symlinks that file into `/root` so that the root user will pick it up properly without additional changes.
2015-07-06 12:54:26 -07:00
Tianon Gravi 97e1f49042 Support RABBITMQ_DEFAULT_VHOST, RABBITMQ_DEFAULT_USER, RABBITMQ_DEFAULT_PASS (optionally) 2015-06-30 11:35:33 -07:00
Tianon Gravi 7eeb489984 Add "gosu" and step down from root ourselves 2015-03-24 17:09:40 -06:00
Tianon Gravi 575683f3b6 Add basic entrypoint and more consistent UID/GID assignment 2014-12-29 17:45:50 -07:00