appelgriebsch / dockers Goto Github PK
View Code? Open in Web Editor NEWLibrary of docker files and Vagrant images
Home Page: https://hub.docker.com/u/appelgriebsch/
Library of docker files and Vagrant images
Home Page: https://hub.docker.com/u/appelgriebsch/
Hi!
Thanks so much for creating this. Makes setting up a replica set so easy. Got 2 member + 1 arbiter working on ec2, all separate hosts
One thing I wanted to ask: is there a reason why journal is not disabled for arbiters? I'm a bit of a mongo noob so I just thought I'd ask as that is what the docs recommend.
If it makes sense to have it disabled, I can easily submit a PR ๐
I am trying to use your mongo container, but when I run it, I get a bunch of errors starting with:
Creating database path /data/db/b2773f90a13e.
mkdir: cannot create directory '/data/db/b2773f90a13e': Permission denied
This is most likely because the mongod user specified (https://github.com/appelgriebsch/dockers/blob/master/docker/mongodb/Dockerfile#L62) does not have permissions to create directories.
Am I doing something wrong?
Here is the Ansible tasks I am using to start the containers:
- name: create data container
docker:
name: data
image: appelgriebsch/mongodb:2.6
volumes: /data/db
state: present
- name: run mongodb container
docker:
name: mongodb01
image: appelgriebsch/mongodb:2.6
env: "MONGO_DBDIR=/data/db,MONGO_BIND=0.0.0.0,MONGO_REPLSET=replica01"
volumes_from: data
publish_all_ports: True
restart_policy: always
state: started
- name: run mongodb container
docker:
name: mongodb02
image: appelgriebsch/mongodb:2.6
links:
- mongodb01
env: "MONGO_DBDIR=/data/db,MONGO_BIND=0.0.0.0,MONGO_REPLSET=replica02"
volumes_from: data
publish_all_ports: True
restart_policy: always
state: started
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.