Docker containers for PYME's distributed servers - #1219
Conversation
|
|
|
Looks like we might also be able to run the multi-process service. Wild. Would be neat from a performance standpoint, but if its a headache its a headache |
|
Also big thanks for doing this Zach! |
|
Would be cool. And no problem. Once this is merged/built on our own Docker Hub account (presumably Before you beginNote that this could create some big security holes in your network. We recommend running this on a separate, private network connected only to your microscope computer. Requirements
Installation
Run
|
|
NOTE: There is currently no |
This is a Docker file and GitHub Action that creates a container for PYME distributed servers and uploads it to https://hub.docker.com/. Tested and working in Docker on Ubuntu 20.04.4 LTS.
One uploaded (or built locally with
docker build -t pyme-server .), a server node can be brought up withdocker run -dp 9000:9000 pyme-serverand the main node can be brought up with
docker run -dp 9000:9000 pyme-server --main.Note the
-dflag runs in detached mode and-p 9000:9000maps port 9000 of the Docker image to port 9000 of the host machine (more info at https://docs.docker.com/get-started/02_our_app/).Still on the to-do list...
bclon fresh Debian install pymecompress#9.pymecompressand convert the Docker to conda package installs only.This is a WIP, and thoughts on how to do this better are most welcome. Feel free to try on your home machine :).