Git Product home page Git Product logo

docker-mongodb-oplog's Introduction

docker-mongodb-oplog

Simple mongodb image with single-node replicaset enabled.

This image is unsecured, binds to all open interfaces and does not includes any authentication process. It it strictly meant for developpement, DO NOT use for production.

It uses mvertes/docker-alpine-mongo as base image.

ReplicaSet name: rs0.

MONGO_URL=mongodb://<hostname>/my_database?replicaSet=rs0
MONGO_URL_OPLOG=mongodb://<hostname>/local?replicaSet=rs0

docker-mongodb-oplog's People

Contributors

aslafy-z avatar dan335 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

docker-mongodb-oplog's Issues

MongoError: no primary found in replicaset or invalid replica set name

startup log

2018-02-28T11:33:32.176+0000 I CONTROL  [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=151c118a92b1
2018-02-28T11:33:32.177+0000 I CONTROL  [initandlisten] db version v3.6.2
2018-02-28T11:33:32.177+0000 I CONTROL  [initandlisten] git version: 489d177dbd0f0420a8ca04d39fd78d0a2c539420
2018-02-28T11:33:32.178+0000 I CONTROL  [initandlisten] OpenSSL version: LibreSSL 2.6.3
2018-02-28T11:33:32.178+0000 I CONTROL  [initandlisten] allocator: system
2018-02-28T11:33:32.178+0000 I CONTROL  [initandlisten] modules: none
2018-02-28T11:33:32.178+0000 I CONTROL  [initandlisten] build environment:
2018-02-28T11:33:32.178+0000 I CONTROL  [initandlisten]     distarch: x86_64
2018-02-28T11:33:32.178+0000 I CONTROL  [initandlisten]     target_arch: x86_64
2018-02-28T11:33:32.178+0000 I CONTROL  [initandlisten] options: { net: { bindIpAll: true }, replication: { replSet: "rs0" } }
2018-02-28T11:33:32.248+0000 I -        [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
2018-02-28T11:33:32.353+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=487M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress),
2018-02-28T11:33:36.366+0000 I STORAGE  [initandlisten] WiredTiger message [1519817616:366027][1:0x7fb3678db730], txn-recover: Main recovery loop: starting at 3/768
2018-02-28T11:33:39.363+0000 I STORAGE  [initandlisten] WiredTiger message [1519817619:363091][1:0x7fb3678db730], txn-recover: Recovering log 3 through 4
2018-02-28T11:33:41.588+0000 I STORAGE  [initandlisten] WiredTiger message [1519817621:588685][1:0x7fb3678db730], txn-recover: Recovering log 4 through 4
2018-02-28T11:33:42.602+0000 I CONTROL  [initandlisten] 
2018-02-28T11:33:42.605+0000 I CONTROL  [initandlisten] ** WARNING: Access control is not enabled for the database.
2018-02-28T11:33:42.606+0000 I CONTROL  [initandlisten] **          Read and write access to data and configuration is unrestricted.
2018-02-28T11:33:42.606+0000 I CONTROL  [initandlisten] 
2018-02-28T11:33:42.690+0000 I FTDC     [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
2018-02-28T11:33:42.693+0000 I REPL     [initandlisten] Did not find local voted for document at startup.
2018-02-28T11:33:42.707+0000 I REPL     [initandlisten] Did not find local replica set configuration document at startup;  NoMatchingDocument: Did not find replica set configuration document in local.system.replset
2018-02-28T11:33:42.711+0000 I NETWORK  [initandlisten] waiting for connections on port 27017

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.