Comments (4)
This is great. I think a run-script is a good point to start with. We also can use that script to i.e. share the erlang cookie over etcd or set the hostname to cluster ejabberd instances.
I also like your idea to parse the config file with Jinja2. Setup the admin user with password could be another good run-time configuration. @swvitaliy addressed this in swvit-dl@9dfefa7.
Other interesting forks we maybe can merge from:
I will read the 12factor document to get a better idea. And merge your requests later this day.
from docker-ejabberd.
erlang cookie from etcd
My preference would be to leave this out of the image in a tool which orchestrates the containers and passes this in as an environment variable. Happy to have the run script set the cookie at runtime from the environment variable, though. I'll submit a PR for that.
Setup the admin user with password
This opens some extra questions about clustering and persistence of state. I'll stay away from this for the moment.
from docker-ejabberd.
Logging to stdout inclusive extra logfiles, done.
Graceful shutdown on SIGTERM and SIGINT, done.
Config in the runtime environment, done.
Please re-open if you do not agree.
from docker-ejabberd.
Awesome, thanks for all of that work @rroemhild and sorry I couldn't free myself up to contribute more recently.
from docker-ejabberd.
Related Issues (20)
- Custom Module HOT 1
- Can't access admin :5280/admin HOT 2
- Cannot access API with browser show not found HOT 1
- Ejabberd shared roaster group with members @all@ HOT 5
- Kubernetes working example HOT 8
- SSL more env vars
- 18.09 tag HOT 1
- Not listening to any connection HOT 3
- Open relay HOT 5
- Keeping a CHANGELOG would be nice! HOT 2
- Getting issue with file upload HOT 1
- PostgreSQL support for auth script
- Can't connect to web admin
- setting ERLANG_NODE crashes docker container HOT 1
- dotenv and python
- Support for http auth method HOT 1
- How to do a Select on Erlang, Mnesia
- conf/ejabberd.yml.tpl seems to be outdated
- Provide tags for newer ejabberd versions HOT 1
- Easy, one-click deployment of ejabberd using Cloudron HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-ejabberd.