Alpine with nodejs installed to query mySql temperature database on Raspberry Pi @172.17.0.1
1.0K
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.
Content type
Image
Digest
Size
19.1 MB
Last updated
over 6 years ago
docker pull toddrose/my-web-app