nightscout / nightscout-docker Goto Github PK
View Code? Open in Web Editor NEWdocker resources for creating Nightscout boxen
docker resources for creating Nightscout boxen
How to update to nightscout 14.2.2๏ผ
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.
I believe it is https://store.docker.com/community/images/nightscout/cgm-remote-monitor-development.
You should be able to do this by opening the homepage of this repo, click Edit
and then put the URL on the Website
field.
thank you!
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..?
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?
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.