This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### | |
| # Node.js app Docker file | |
| # | |
| # Some basic build instructions: | |
| # ``` | |
| # # you should delete node_modules b/c you don't want that copied during 'ADD' | |
| # docker build -t thom-nic/node-bootstrap . | |
| # # run a shell in the container to inspect the environment (as root): | |
| # docker run --rm -itu root thom-nic/node-bootstrap /bin/bash | |
| # ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <PubSubClient.h> | |
| #include <ESP8266WiFi.h> | |
| #include <ESP8266WebServer.h> | |
| const char* wifi_ssid = "XXXXX"; | |
| const char* wifi_password = "XXXXX"; | |
| char* mqtt_server = "iot.eclipse.org"; | |
| char* mqtt_user = ""; |
NewerOlder