Sign inSign up

toddrose/my-web-app

By toddrose

Updated over 6 years ago

Alpine with nodejs installed to query mySql temperature database on Raspberry Pi @172.17.0.1

Image
0

1.0K

toddrose/my-web-app repository overview

Uses -p 3000:3000

This must have DB_PASS = 'your_database_password' as an environmental variable to connect.

MySql is NOT containerized and thus may reside at any host.

Database called 'tempsdb' with user 'aces' at host 172.17.0.1

GET provides a form that is POSTed POST data is used to perform a date range query of the database with option to select either/both Temperature and Humidity recorded via a method outside this container. Data is returned as a raw JSON object.

Tag summary

Content type

Image

Digest

Size

19.1 MB

Last updated

over 6 years ago

docker pull toddrose/my-web-app