app icon indicating copy to clipboard operation
app copied to clipboard

Bring back standardnote/web docker image for self hosting

Open jackyzy823 opened this issue 3 years ago • 0 comments

Since the #1360 PR moves web-server to static web. so the docker image standardnotes/web will no longer receive update?

I know using AWS CloudFront + S3 to serve static content helps reducing the cost of web server. However it will be harder to self host web , no docker image anymore and the env variable can not be applied anymore.

Now as a self hosting user, You have to do all the yarn compilation stuff, edit URL in index.html (the worst part), and setup a server (like nginx/apache) or bundle static with server into a docker image to serve these static contents.

So could you make a docker image which serves static content and supports env variable?

Thanks.

jackyzy823 avatar Aug 10 '22 07:08 jackyzy823

Here I provide my solution for those who want to self host standardnotes/web: https://github.com/jackyzy823/standardnotes-web-image/ and prebuilt docker image https://github.com/jackyzy823/standardnotes-web-image/pkgs/container/standardnotes-web

jackyzy823 avatar Aug 11 '22 12:08 jackyzy823

Here I provide my solution for those who want to self host standardnotes/web: https://github.com/jackyzy823/standardnotes-web-image/ and prebuilt docker image https://github.com/jackyzy823/standardnotes-web-image/pkgs/container/standardnotes-web

you are great!

sequent5 avatar Aug 11 '22 19:08 sequent5