Commit Graph

117 Commits (master)

Author SHA1 Message Date
LeszekBlazewski e1517aadbc fix: invalid CTL_ON_CREATE usage in docker-compose example 1 week ago
Badlop fba8bf6d2d mix and ecs images: Update Alpine to 3.19 2 months ago
Badlop 6ff46ae7bb ejabberdctl: Reorganize and complete documentation of node start/debug commands 2 months ago
Badlop 6cafab776a ejabberdctl: Document to stop live shell with control+g 2 months ago
Badlop f81004e1e4 Document new "!" flag to prepend commands in CTL_ON (#110) 3 months ago
Paweł Chmielowski c0acc7aeb8 Recognize "!" flag in CTL_ON_{CREATE|START} to ignore failing commands 3 months ago
Badlop 72d317a02b Halt ejabberd if a command in CTL_ON_ fails during ejabberd startup (#97) 10 months ago
sando38 3d5efe9e76 Dockerfile: compile ejabberdapi during build 11 months ago
Badlop f5db404e93 Update Alpine to 3.17 12 months ago
Badlop 225ce0a59c No need to setup captcha_url, by default auto may be good enough 1 year ago
Jérôme Sautret b331b49664 Upgrade OS packages for eCS 1 year ago
Badlop dd773c1ab9 Reword some sentences: containers are no longer only a Docker exclusive thing 1 year ago
Badlop 96092f688a Document how to change the mnesia node name 1 year ago
Badlop cc800c3551 Document how to setup clustering 1 year ago
Badlop f81905d5e3 Set ERLANG_NODE fixed to ejabberd@localhost 1 year ago
Saarko 2c42a59eb4 ecs/Dockerfile: add tini as runtime init
- no need to start with flag --init anymore as introduced here
- should close issue #89
1 year ago
Badlop 8f2043ebf9 Use Config instead of the deprecated Mix.Config
See https://hexdocs.pm/mix/Mix.Config.html
1 year ago
Badlop 4222010434 Update Alpine to the latest image cached in GitHub Actions, 3.16 (#91)
See https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#cached-docker-images
1 year ago
Badlop b5aa67be61 Update link to the local example of CTL_ON_CREATE usage 1 year ago
Badlop ba4aab7443 Add Composer Examples section 1 year ago
Jérôme Sautret 90671eb93f Runs tini in the container to cope with zombies
Some versions prior to 22.05 produce zombies epmd. It's a
good idea anyway to have an init process for all versions as we can
spawn lot's of stuffs.
2 years ago
Badlop 2998bc653d Add link to the alternate container image in ecs README 2 years ago
Badlop ba822a857a Prepare a short and general description to show in Docker Hub 2 years ago
Badlop 2ae9f006a3 Use Elixir's release instead of Distillery's release 2 years ago
Badlop bd19f3e33d Update Alpine to 3.14 (thanks to John Haugeland)(#76) 2 years ago
Badlop 8e9f665590 Document CTL_ON_CREATE and CTL_ON_START 3 years ago
Badlop 2869255c0b Copy back config.exs, as ejabberd 21.07 uses runtime.exs 3 years ago
Badlop 73cd369a42 Since ejabberd 21.07, mix.exs expects that vars.config contains vsn 3 years ago
Karim 3b50d37fd9
Update ACME default `ca_url` 3 years ago
Badlop e89a9e49f1 Forward Windows people to the Docs, which has links to the tutorials 3 years ago
Badlop da8d92c4f5 Update test badge from Travis to Github Actions 3 years ago
Badlop 06a2d86b2e Update log_rotate parsing from ejabberd's ejabberdctl updated past year 3 years ago
Badlop 54d096542e Fix typo /this/it/
Cherry-picked from ejabberd upstream 18.01-22-ga0c8cac1b
3 years ago
Badlop a30f59d04f Copy some code from ejabberd's ejabberdctl.template
This code is copied from ejabberd's upstream ejabberdctl.template,
even if useless, to try to have a file as close as possible.
3 years ago
Badlop f7e1d1d735 Allow passing Erlang VM args through vm.args config file
This can be used to define the Erlang cookie in a place that feels less foreign to
non Erlang users.
Fixes #3343

Cherry-picked from ejaberd upstream 20.04-91-g09454e165
3 years ago
Badlop dddf54fa82 Add 'ejabberdctl foreground-quiet'
This starts ejabberd without detaching process but setups
console logging to display only critical messages.

Cherry-picked from ejabberd upstream 20.12-73-g3516d2053
3 years ago
Badlop 964b61f584 ejabberdctl: Omit redundant erl option
The "-detached" flag implies "-noinput".

Cherry-picked from ejabberd upstream 18.01-42-g1b26c8d21
3 years ago
Badlop be9b7bfe55 Limit number of atoms used by ejabberdctl ( #2977)
Cherry-picked from ejabberd upstream 20.03-21-g762486d19
and 20.03-22-geac7e3488
3 years ago
Badlop f2c6c064dd ejabberdctl: fix parameter parsing
Cherry-picked from ejabberd upstream 18.03-60-gc43037887
3 years ago
Badlop a17ada0d0e Only create cookie file if it doesn't exist
Without that change, when ERLANG_COOKIE environment is set, it complains:
 /home/ejabberd/bin/ejabberdctl: line 76:
 can't create /home/ejabberd/.erlang.cookie: Permission denied
3 years ago
Badlop 6e23742ca4 Add Elixir start scripts so "bin/ejabberdctl iexdebug" works 3 years ago
Badlop fca16f446c Experimental support CTL_ON_CREATE and CTL_ON_START environment variables 3 years ago
Badlop 387254bcdf Fix again 9adadc6: started, stopped and *) shouldn't use exec 3 years ago
Badlop 15045cf793 Major reordering of sections, Markdown, badges, rephrasal ... 3 years ago
Badlop 8c5e758191 Fix recent commit 9adadc6: mkdir shouldn't run with exec 3 years ago
Badlop bf395e9f95 Parameterize what Docker to install depending on the Windows version 3 years ago
Badlop 45534b2035 Separate comments, it's easier to read on Windows monochrome's text editors 3 years ago
Badlop 06b7a6ba42 Add batch script to help setting ejabberd Docker on Windows 3 years ago
Badlop 3d78a70132 Include the captcha examples in the container and how to use them (#65) 3 years ago
Badlop 9adadc6999 Start BEAM with exec to maintain the PID and catch SIGTERM in Docker Stop
Until now, when stopping the ejabberd container, Erlang is not gracefully
closed, Mnesia is not properly closed... exit code is 137.
With this change, when the container is stopped, Erlang receives the
SIGTERM signal, shutsdown, Mnesia database is properly closed, ...
and exit code is 0.
Reference: processone/ejabberd#2822
3 years ago