Comments (3)
Maybe this would be a solution, only set MONGO_ADDR if it wasn't set alreay, allowing the user to specify a seperate url for the mongo client.
from docker-alerta.
Fixed by #43
from docker-alerta.
You can easily test this yourself by checking out this repo and running ...
$ docker-compose -f docker-compose.yml -f docker-compose.mongo-replica.yml up
And then initiating the replicaset ...
Run an interactive shell in one of the mongoDB containers:
$ docker ps -a # <= get container ID
$ docker exec -ti CONTAINER_ID bash
root:/# mongo
At the mongo
prompt ">" run:
rs.initiate(
{
_id: "rs0",
version: 1,
members: [
{ _id: 0, host : "db:27017" },
{ _id: 1, host : "db1:27017" },
{ _id: 2, host : "db2:27017" }
]
}
)
from docker-alerta.
Related Issues (20)
- Alerta Docker error HOT 9
- Improve nginx logging format
- Former images broken? HOT 6
- uWSGI worker threads simultaneously restart causing dropped connections HOT 1
- Missing permissions on Housekeeping API key with customer_view enabled
- export SECRET_KEY in docker-entrypoint.sh takes precedence over SECRET_KEY in /etc/alertad.conf
- Upstream timed out (110: Connection timed out) while reading response header from upstream HOT 3
- Dockerhub alerta-web 8.7.0 with Mongo 4.4.2 stops responding HOT 7
- ERROR: duplicate key value violates unique constraint "keys_key_key" HOT 3
- nginx example build fails because python is missing HOT 2
- ORDER BY (false) HOT 4
- Error: failed to retrieve client config from Alerta API endpoint /api/ config HOT 2
- ARM64 image ? HOT 1
- NGINX returns 413 error when alert webhook is too large
- management/manifest endpoint broken in 9.0.1 HOT 2
- Alerta does not pick up on non-default Postgres credentials
- Why alerta user is member of root group HOT 2
- uWSGI is in maintenance mode HOT 1
- /auth/ in Keycloak URL HOT 1
- Bump base docker image, mongo, postgres and nginx
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-alerta.