2
0
mirror of https://github.com/processone/docker-ejabberd synced 2024-11-10 13:10:37 +00:00
Commit Graph

103 Commits

Author SHA1 Message Date
Badlop
f81905d5e3 Set ERLANG_NODE fixed to ejabberd@localhost 2023-03-07 12:32:38 +01:00
Saarko
2c42a59eb4 ecs/Dockerfile: add tini as runtime init
- no need to start with flag --init anymore as introduced here
- should close issue #89
2023-01-30 14:48:36 +01:00
Badlop
8f2043ebf9 Use Config instead of the deprecated Mix.Config
See https://hexdocs.pm/mix/Mix.Config.html
2022-12-20 12:25:56 +01:00
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
2022-12-20 11:31:20 +01:00
Badlop
b5aa67be61 Update link to the local example of CTL_ON_CREATE usage 2022-11-07 22:34:45 +01:00
Badlop
ba4aab7443 Add Composer Examples section 2022-11-07 22:16:33 +01:00
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.
2022-06-22 16:04:32 +02:00
Badlop
2998bc653d Add link to the alternate container image in ecs README 2022-05-17 11:04:45 +02:00
Badlop
ba822a857a Prepare a short and general description to show in Docker Hub 2022-05-12 12:56:09 +02:00
Badlop
2ae9f006a3 Use Elixir's release instead of Distillery's release 2022-03-14 12:54:07 +01:00
Badlop
bd19f3e33d Update Alpine to 3.14 (thanks to John Haugeland)(#76) 2021-12-28 21:25:43 +01:00
Badlop
8e9f665590 Document CTL_ON_CREATE and CTL_ON_START 2021-08-02 12:15:12 +02:00
Badlop
2869255c0b Copy back config.exs, as ejabberd 21.07 uses runtime.exs 2021-07-21 21:26:57 +02:00
Badlop
73cd369a42 Since ejabberd 21.07, mix.exs expects that vars.config contains vsn 2021-07-21 21:26:53 +02:00
Karim
3b50d37fd9
Update ACME default ca_url 2021-07-03 19:31:35 +01:00
Badlop
e89a9e49f1 Forward Windows people to the Docs, which has links to the tutorials 2021-04-29 12:41:37 +02:00
Badlop
da8d92c4f5 Update test badge from Travis to Github Actions 2021-04-29 12:18:22 +02:00
Badlop
06a2d86b2e Update log_rotate parsing from ejabberd's ejabberdctl updated past year 2021-04-20 11:21:17 +02:00
Badlop
54d096542e Fix typo /this/it/
Cherry-picked from ejabberd upstream 18.01-22-ga0c8cac1b
2021-04-20 11:21:15 +02:00
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.
2021-04-20 11:21:13 +02:00
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
2021-04-20 11:21:11 +02:00
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
2021-04-20 11:21:09 +02:00
Badlop
964b61f584 ejabberdctl: Omit redundant erl option
The "-detached" flag implies "-noinput".

Cherry-picked from ejabberd upstream 18.01-42-g1b26c8d21
2021-04-20 11:21:07 +02:00
Badlop
be9b7bfe55 Limit number of atoms used by ejabberdctl ( #2977)
Cherry-picked from ejabberd upstream 20.03-21-g762486d19
and 20.03-22-geac7e3488
2021-04-20 11:21:04 +02:00
Badlop
f2c6c064dd ejabberdctl: fix parameter parsing
Cherry-picked from ejabberd upstream 18.03-60-gc43037887
2021-04-20 11:21:02 +02:00
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
2021-04-20 11:20:59 +02:00
Badlop
6e23742ca4 Add Elixir start scripts so "bin/ejabberdctl iexdebug" works 2021-04-06 00:28:40 +02:00
Badlop
fca16f446c Experimental support CTL_ON_CREATE and CTL_ON_START environment variables 2021-04-05 21:32:00 +02:00
Badlop
387254bcdf Fix again 9adadc6: started, stopped and *) shouldn't use exec 2021-04-05 21:30:15 +02:00
Badlop
15045cf793 Major reordering of sections, Markdown, badges, rephrasal ... 2021-04-05 21:29:24 +02:00
Badlop
8c5e758191 Fix recent commit 9adadc6: mkdir shouldn't run with exec 2021-04-03 17:51:39 +02:00
Badlop
bf395e9f95 Parameterize what Docker to install depending on the Windows version 2021-04-01 13:19:14 +02:00
Badlop
45534b2035 Separate comments, it's easier to read on Windows monochrome's text editors 2021-04-01 13:12:17 +02:00
Badlop
06b7a6ba42 Add batch script to help setting ejabberd Docker on Windows 2021-04-01 13:06:43 +02:00
Badlop
3d78a70132 Include the captcha examples in the container and how to use them (#65) 2021-03-31 15:57:24 +02:00
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
2021-03-30 21:50:52 +02:00
Badlop
eca259c24f Improve section about registering first account (processone/ejabberd#3375) 2020-11-18 17:37:26 +01:00
Paul Menzel
d8c32c552e ecs/README.md: Fix typo in *is built* 2020-10-01 18:44:35 +02:00
Mickaël Rémond
a9e5778a82
Riak support has been discontinued 2020-02-26 16:26:37 +01:00
Mickaël Rémond
158981e719
Merge branch 'master' into enable_odbc 2020-02-26 14:55:10 +01:00
Mickael Remond
72d3b25a0f
Update to latest Alpine version
Fixes #54
2020-02-18 10:43:06 +01:00
Mickaël Rémond
8c87c7c1a8
Document how to inspect container state 2020-02-18 10:09:59 +01:00
Christoph Scholz
4e6db5ee36 enable odbc and mssql 2019-12-28 10:58:43 +01:00
Mickael Remond
1a23caeaf6
Update description 2019-09-30 10:17:09 +02:00
Christophe Romain
9d97b7d1fc Update use of new distillery 2019-08-05 11:40:20 +02:00
Christophe Romain
b8349d15b0 Force configuration of eimp (#36) 2019-08-01 17:50:14 +02:00
Christophe Romain
1dde352cb8 Downgrade alpine to 3.9 (#46)
This reverts commit d897286809.
2019-08-01 17:27:28 +02:00
Christophe Romain
5e9695f2e8 Allow pettern matching in cp expresion (#42) 2019-07-31 10:00:58 +02:00
mathieu.brunot
4a27d2d9bd
Update labels in hook after #40 merged
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2019-07-30 19:12:42 +02:00
mathieu.brunot
5e832e94b5
Merge branch 'master' of github.com:Monogramm/docker-ejabberd into ci/docker 2019-07-30 18:51:44 +02:00