Install MemCP with Docker

From MemCP
Revision as of 16:10, 17 May 2024 by Carli (talk | contribs) (Created page with "To build the image the first time: git clone https://github.com/launix-de/memcp cd memcp docker build . -t memcp For app development and to enter the Scheme console: mkdir data docker run -v data:/data -it -p 4321:4321 -p 3307:3307 memcp To run your custom Scheme apps (like the one from RDF templating and model driven development): make data docker run -e PARAMS="lib/main.scm apps/minigame.scm" -v data:/data -it -p 4321:4321 -p 3307:3307 memcp During productio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To build the image the first time:

git clone https://github.com/launix-de/memcp
cd memcp
docker build . -t memcp

For app development and to enter the Scheme console:

mkdir data
docker run -v data:/data -it -p 4321:4321 -p 3307:3307 memcp

To run your custom Scheme apps (like the one from RDF templating and model driven development):

make data
docker run -e PARAMS="lib/main.scm apps/minigame.scm" -v data:/data -it -p 4321:4321 -p 3307:3307 memcp

During production without Scheme console and with a service model and a global data store:

mkdir /var/memcp
docker run -v /var/memcp:/data -di -p 4321:4321 -p 3307:3307 --restart unless-stopped memcp