Code Monkey home page Code Monkey logo

nightscout-docker's People

Contributors

bewest avatar fokko avatar jareware avatar jasoncalabrese avatar timbutler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nightscout-docker's Issues

For development efforts just a suggestion to make /opt/app a shared volume.

On the nodejs container the suggestion is to make /opt/app a shared docker volume. A docker volume would allow for easier development as we could use our IDE development tools on our host (windows, mac and linux) against the files on the volume that the container uses. Just an easier way of editing things like servers.js for testing things out. This way we don't have to install tools in the container etc.

https://docs.docker.com/engine/tutorials/dockervolumes/

Startup issues

I'm having trouble starting the containers reliably. About 4 out of 5 times I get this:

$ docker-compose up
[...]
database_1   | 2015-10-26T20:59:14.517+0000 [conn2] Failed to authenticate admin@admin with mechanism MONGODB-CR: AuthenticationFailed UserNotFound Could not find user admin@admin
database_1   | 2015-10-26T20:59:14.517+0000 [conn3]  authenticate db: admin { authenticate: 1, user: "admin", nonce: "xxx", key: "xxx" }
database_1   | 2015-10-26T20:59:14.518+0000 [conn3] Failed to authenticate admin@admin with mechanism MONGODB-CR: AuthenticationFailed UserNotFound Could not find user admin@admin
database_1   | 2015-10-26T20:59:14.519+0000 [conn4]  authenticate db: admin { authenticate: 1, user: "admin", nonce: "xxx", key: "xxx" }
database_1   | 2015-10-26T20:59:14.519+0000 [conn4] Failed to authenticate admin@admin with mechanism MONGODB-CR: AuthenticationFailed UserNotFound Could not find user admin@admin
database_1   | 2015-10-26T20:59:14.521+0000 [conn5]  authenticate db: admin { authenticate: 1, user: "admin", nonce: "xxx", key: "xxx" }
database_1   | 2015-10-26T20:59:14.521+0000 [conn5] Failed to authenticate admin@admin with mechanism MONGODB-CR: AuthenticationFailed UserNotFound Could not find user admin@admin
database_1   | 2015-10-26T20:59:14.522+0000 [conn6]  authenticate db: admin { authenticate: 1, user: "admin", nonce: "xxx", key: "xxx" }
database_1   | 2015-10-26T20:59:14.522+0000 [conn6] Failed to authenticate admin@admin with mechanism MONGODB-CR: AuthenticationFailed UserNotFound Could not find user admin@admin
database_1   | 2015-10-26T20:59:14.525+0000 [conn2] end connection 172.17.0.84:59957 (4 connections now open)
database_1   | 2015-10-26T20:59:14.526+0000 [conn3] end connection 172.17.0.84:59958 (3 connections now open)
database_1   | 2015-10-26T20:59:14.526+0000 [conn4] end connection 172.17.0.84:59959 (2 connections now open)
database_1   | 2015-10-26T20:59:14.526+0000 [conn5] end connection 172.17.0.84:59960 (1 connection now open)
database_1   | 2015-10-26T20:59:14.527+0000 [conn6] end connection 172.17.0.84:59961 (0 connections now open)
nightscout_1 | Error connecting to MongoDB, ERROR: {"name":"MongoError","message":"auth failed","ok":0,"errmsg":"auth failed","code":18}
nightscout_1 |
nightscout_1 | /home/node/app/node_modules/mongodb/lib/mongo_client.js:445
nightscout_1 |               throw err
nightscout_1 |                     ^
nightscout_1 | MongoError: auth failed
nightscout_1 |     at Function.MongoError.create (/home/node/app/node_modules/mongodb/node_modules/mongodb-core/lib/error.js:31:11)
nightscout_1 |     at /home/node/app/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:754:66
nightscout_1 |     at Callbacks.emit (/home/node/app/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:95:3)
nightscout_1 |     at null.messageHandler (/home/node/app/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:243:23)
nightscout_1 |     at Socket.<anonymous> (/home/node/app/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:262:22)
nightscout_1 |     at Socket.emit (events.js:107:17)
nightscout_1 |     at readableAddChunk (_stream_readable.js:163:16)
nightscout_1 |     at Socket.Readable.push (_stream_readable.js:126:10)
nightscout_1 |     at TCP.onread (net.js:538:20)
nightscout_nightscout_1 exited with code 1
Gracefully stopping... (press Ctrl+C again to force)
Stopping nightscout_database_1...
Stopping nightscout_broker_1...

Then that 1 time out of 5, everything works as it should.

Ideas..?

status of this repository

Since is 7 years old, what is the status of this repository related to install nightScout in a docker container, can be still use and you will get last NightScout release?

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.