25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

fix: invalid CTL_ON_CREATE usage in docker-compose example

This commit is contained in:
LeszekBlazewski 2024-04-19 16:14:05 +02:00
parent 9c8ae96f25
commit 64cd794c02

View File

@ -227,7 +227,7 @@ abort start, this can be disabled by prefixing commands with `!`
Example usage (or check the [full example](#customized-example)): Example usage (or check the [full example](#customized-example)):
```yaml ```yaml
environment: environment:
- CTL_ON_CREATE=\! register admin localhost asd - CTL_ON_CREATE=! register admin localhost asd
- CTL_ON_START=stats registeredusers ; - CTL_ON_START=stats registeredusers ;
check_password admin localhost asd ; check_password admin localhost asd ;
status status
@ -435,7 +435,7 @@ services:
environment: environment:
- ERLANG_NODE_ARG=ejabberd@main - ERLANG_NODE_ARG=ejabberd@main
- ERLANG_COOKIE=dummycookie123 - ERLANG_COOKIE=dummycookie123
- CTL_ON_CREATE=\! register admin localhost asd - CTL_ON_CREATE=! register admin localhost asd
replica: replica:
image: ghcr.io/processone/ejabberd image: ghcr.io/processone/ejabberd