Comments (9)
I might give this a try, I don't understand much either but I already have a server running couple docker game server and wondering if I should also do emoncms on this machine to track my EVSE. I saw somewhere in instructions that it's not recommended to put on server with other stuff hosted sharing resources, but I wonder with Docker it would isolate it.
from emoncms-docker.
@FireflyJar : it is interesting, I guess EVSE is using MQTT
tell me if you manage to make it work. maybe the multi containers approach (followed by the emoncms-docker github repo) is more suitable because because on the multiservices docker image (the one I propose), the broker right now is not exposed to outside. So it is only accessible on the same network namespace :
cf https://docs.docker.com/engine/reference/run/#name---name
from emoncms-docker.
sure will do, not sure what MQTT is, I have an OpenEVSE https://openevse.dozuki.com/Guide/Services+-+EmonCMS/14?lang=en
Thanks
from emoncms-docker.
when i do : docker run --rm -it alexjunk:emoncms:0.0.3
it said: docker: invalid reference format.
what is --rm and -it ?
from emoncms-docker.
--rm
is to remove after stopping the container
-it
means interactive, you will see the log in the shell
it is not docker run --rm -it alexjunk:emoncms:0.0.3
but docker run --rm -it alexjunk/emoncms:0.0.3
you use linux, mac, windows ? if you are on arm 64 bits you should use the arm image : alexjunk/emoncms:0.0.3.arm64v8
I dont have image for arm 32 bits. On mac, it will work only if the processor is intel
normally you can do something like that for your mqtt problematic :
docker run --rm -p 8080:80 -p 8883:1883 -it alexjunk/emoncms:0.0.3
the output should be :
* Starting MariaDB database server mysqld [ OK ]
* Starting Apache httpd web server apache2 *
* Starting network daemon: mosquitto [ OK ]
Starting redis-server: redis-server.
2023-06-22 22:37:34,327 INFO RPC interface 'supervisor' initialized
2023-06-22 22:37:34,328 INFO supervisord started with pid 360
2023-06-22 22:37:35,333 INFO spawned: 'emoncms_mqtt' with pid 371
2023-06-22 22:37:35,339 INFO spawned: 'service-runner' with pid 372
2023-06-22 22:37:35,343 INFO spawned: 'feedwriter' with pid 373
2023-06-22 22:37:36,495 INFO success: emoncms_mqtt entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-06-22 22:37:36,495 INFO success: service-runner entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-06-22 22:37:36,495 INFO success: feedwriter entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
you can reach emoncms on http://192.168.1.25:8080 if 192.168.1.25 is the IP address of the host machine
then to publish on the broker :
mosquitto_pub -h 192.168.1.25 -p 8883 -u "emonpi" -P "emonpimqtt2016" -t 'emon/test/t3' -m 15
you should see the emoncms inputs list being updated
from emoncms-docker.
Server is dual Intel Xeon running Linux Mint 21.1
docker run --rm -p 8080:80 -p 8883:1883 -it alexjunk/emoncms:0.0.3
worked for me,
I need to read up on logging in and setting it up, been a while. and if possible transfer existing data.
Thanks
from emoncms-docker.
seems to be working, I did find a way to sync the data from emoncms.org, transferring the data.
now trying to figure out how to get the apps that emoncms.org has that shows nice report.
from emoncms-docker.
Nice to hear :-)
If you want to modify as few parameters as possible, use -p 1883:1883 and not -p 8883:1883
from emoncms-docker.
I played with it and I managed to figure out how to to add the Emoncms App Module
https://github.com/emoncms/app
I see it there but when I click +New, to add an app, it does not show.
from emoncms-docker.
Related Issues (20)
- Mod rewrite missing when mounting www
- Docker Hub not up to date HOT 3
- docker ENV port MySQL port is not present in settings.php
- Sending data to docker emoncms from openevse HOT 2
- MQTT integration HOT 2
- use of deprecated Links in docker-compose file
- Database: Connection Refused HOT 1
- fatal: Remote branch python3 not found in upstream origin HOT 3
- Volume for local dev environment point the wrong place HOT 1
- EmonCMS' dockerised Web service fails when starting up HOT 2
- emoncms access HOT 6
- Restore function not working
- Fixing quick start HOT 1
- Setup CI to automate pushes to docker-hub
- Permissions Error
- few changes for running the container rpi4 HOT 3
- What branch is the most active/recent? HOT 6
- Outdated quickstart instructions
- Multiple errors on image update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emoncms-docker.