Compare commits

...

2 Commits

Author SHA1 Message Date
badlop ce8ea0a59f
Merge pull request #112 from LeszekBlazewski/fix-command-on-start-docs
fix: invalid CTL_ON_CREATE usage in docker-compose example
3 weeks ago
LeszekBlazewski e1517aadbc fix: invalid CTL_ON_CREATE usage in docker-compose example 3 weeks ago

@ -226,7 +226,7 @@ abort start, this can be disabled by prefixing commands with `!`
Example usage (or check the [full example](#customized-example)):
```yaml
environment:
- CTL_ON_CREATE=\! register admin localhost asd
- CTL_ON_CREATE=! register admin localhost asd
- CTL_ON_START=stats registeredusers ;
check_password admin localhost asd ;
status
@ -513,7 +513,7 @@ services:
environment:
- ERLANG_NODE_ARG=ejabberd@main
- ERLANG_COOKIE=dummycookie123
- CTL_ON_CREATE=\! register admin localhost asd
- CTL_ON_CREATE=! register admin localhost asd
healthcheck:
test: netstat -nl | grep -q 5222
start_period: 5s

Loading…
Cancel
Save