insmemo-web icon indicating copy to clipboard operation
insmemo-web copied to clipboard

(Need Help) Self-Deploy Service Guide

Open boojack opened this issue 3 years ago • 4 comments

Here are lots of requirement of self-deploy Memos service.

So is there a tech-man with interest that can help me about this:

  1. try to deploy this in your server;
  2. write a guide document about the process;

And here are some resource you may need:

  • docker image: https://hub.docker.com/r/neosmemo/memos
  • backend source code: https://github.com/boojack/insmemo

boojack avatar Oct 28 '21 08:10 boojack

Hey I already have tested it on my server and it works.

I just followed the instructions on your image. Easy as pie.

So is there anything exactly missing? I'm happy to contribute.

WestXu avatar Oct 28 '21 08:10 WestXu

@WestXu Thanks a lot for your interests, and I need a step-by-step deploy document for those non-tech person. If you have some experiences to deploy, write down and share it please.

boojack avatar Oct 28 '21 09:10 boojack

https://github.com/boojack/insmemo-web/pull/7

WestXu avatar Oct 28 '21 10:10 WestXu

Deployment

  1. Install Docker. (Check official docs here.)
  2. Make sure you have docker accessible from your terminal. Try docker -v to see if it correctly prints some version info.
  3. Input docker run --name memos -p 8080:8080 -v ~/memos-data/:/data/ -d neosmemo/memos. For details of every argument passed, check here.
  4. Now you should be able to access the app from your browser via http://localhost:8080.
  5. If anything doesn't work, file an issue, please.

Update

We recommend using watchtower to auto-update your deployment:

docker run --name watchtower -v /var/run/docker.sock:/var/run/docker.sock -d containrrr/watchtower --cleanup memos


Write by @WestXu 🎉

boojack avatar Oct 29 '21 00:10 boojack