caprover icon indicating copy to clipboard operation
caprover copied to clipboard

Simplify the process of deploying static files

Open BitPatty opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe.

CapRover makes it easy to deploy containerized applications, but the procedure to deploy static files still comes with a bit of an overhead such as:

  1. Understanding the docs on how this process works
  2. Creating a definition file
  3. Packing the application
  4. Requiring the CapRover CLI to be installed (and knowing how it works).

Describe the solution you'd like

It'd be great if I could upload a simple zip (or tar) file (containing just the static files) via the Web UI and have CapRover automatically set up nginx to serve these files without having to go through steps 1 and 3 (and most of 0). This would allow anyone quickly to spin up a demo page for their project on a CapRover instance without all the technical setup/knowledge.

BitPatty avatar Nov 14 '20 23:11 BitPatty

Also it's worth mentioning that the documented process for deploying static web sites involves having a nginx container running, while caprover itself is already running an instance of nginx. It would be awesome to reduce this overhead for users with memory constrained servers.

Andrewpk avatar Sep 14 '21 02:09 Andrewpk

@Andrewpk - curious to know what your use case is? how much memory does your nginx container use?

githubsaturn avatar Sep 14 '21 03:09 githubsaturn