Deployment: Difference between revisions
Jump to navigation
Jump to search
(Created page with "MemCP is relatively easy to deploy. It only requires minimal system requirements (some 10-20 Megabytes of RAM for the base system). There are two deployment methods: === Deployment via pm2 (preferred) === To run memcp, just follow these commands: git clone https://github.com/launix-de/memcp cd memcp go get make # make sure, go is installed pm2 start ./memcp -data ./data/ # use a different path than ./data if you wish; install pm2 If you want to update memcp, just r...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
make |
make |
||
pm2 restart [processid] |
pm2 restart [processid] |
||
+ | If you want a minimal installation without source code, just copy the executable <code>memcp</code>as well as the <code>lib</code>folder as well as <code>assets</code>. |
||
=== Deployment via Docker === |
=== Deployment via Docker === |
Latest revision as of 19:23, 20 November 2024
MemCP is relatively easy to deploy. It only requires minimal system requirements (some 10-20 Megabytes of RAM for the base system). There are two deployment methods:
Deployment via pm2 (preferred)
To run memcp, just follow these commands:
git clone https://github.com/launix-de/memcp cd memcp go get make # make sure, go is installed pm2 start ./memcp -data ./data/ # use a different path than ./data if you wish; install pm2
If you want to update memcp, just run:
git pull make pm2 restart [processid]
If you want a minimal installation without source code, just copy the executable memcp
as well as the lib
folder as well as assets
.
Deployment via Docker
Docker needs a lot more RAM and disk space since every docker container installs its own linux distribution.
To build docker just run
git clone https://github.com/launix-de/memcp cd memcp docker buildx .
Docker offers a volume /data
where all data is stored and exposes port 4332 (HTTP and REST APIs) and port 3307 (mysql)