I've created a basic docker image with ubuntu, .net and the other tools needed to run cumulus - anyone is welcome to test.
docker-compose
Code: Select all
version: "3.7"
services:
portainer-ce:
container_name: portainer-ce
image: portainer/portainer-ce
restart: on-failure:5
ports:
- "9897:8000"
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./volumes/portainer-ce/data:/data
MXWeather:
container_name: MXWeather
image: nossieuk/mxweather:dotnet-arm64
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
# - ./volumes/CumulusMX/datav3:/opt/CumulusMX/datav3 # optional for migration
- ./volumes/CumulusMX/data:/opt/CumulusMX/data
- ./volumes/CumulusMX/backup:/opt/CumulusMX/backup
- ./volumes/CumulusMX/log:/var/log/nginx
- ./volumes/CumulusMX/MXdiags:/opt/CumulusMX/MXdiags
- ./volumes/CumulusMX/config:/opt/CumulusMX/config
- ./volumes/CumulusMX/publicweb:/opt/CumulusMX/publicweb
- ./volumes/CumulusMX/templates:/opt/CumulusMX/web
- ./volumes/CumulusMX/reports:/opt/CumulusMX/Reports
ports:
- 8998:8998
- 8009:80
anything related to the beta release will apply here too
it used to be simple just to wipe the program location and move in place - however if you do that with an existing install UniqueId.txt will cause the same problems as reported by Mark - I would prefer this stashed somewhere else -- but if I really wanted to I guess I could mount the file??? not looked into it much yet.
Why am I using Ubuntu 23.10? While I'd normally use an LTS version, this one has native .net binaries for arm64 -- I'm probably going to go in the direction of alpine once I get a lay of the land with .net compatibility but this is just a test after all.
I have been using an unmaintained??????? dockerfile from Optoisolated - huge respects to them for giving me a foundation coming up 2 years ago -- it's heavily modified and hacked away but I leave his details there as a salute.
User and timezone set in .env - build.sh and Dockerfile included for source.
If someone is looking for a noobie introduction to docker - I suggest this set of scripts called IOTstack. Basically if you follow the instructions on the link, install IOTstack, install an app and close, you can then copy over the .env and edit the docker-compose.yml for cumulusmx and that's you ready to go.
https://willem-dekker.github.io/IOTstac ... g-Started/
I would NOT recommend ANYONE convert their data to this at this stage - even I haven't done that yet but it's a fun project for someone interested in learning.
With that thought in mind, I still maintain mono cumulusmx for arm and if someone wanted to have a go with that they would just change
Code: Select all
image: nossieuk/mxweather:dotnet-arm64
Code: Select all
image: nossieuk/mxweather:latest