dot-cafe / beam.cafe

🌠 Blazing fast file transfer app focused on user-experience. Fastest way to share files without uploading them.
https://beam.cafe
MIT License
438 stars 14 forks source link

Docker Support #9

Closed antoinebou12 closed 3 years ago

antoinebou12 commented 3 years ago

Related issues / PRs

https://github.com/dot-cafe/beam.cafe/issues/4

Short description and why it's useful

The docker support help the program to be installed more easily and scalable

Short description and why it's useful

image

I have an issue with the frontend for some reason image image

simonwep commented 3 years ago

That looks great! I'll give it a try in the next days :)

simonwep commented 3 years ago

So I made a few changes:

  1. I don't want docker (for now) to be used during development, the setup is simple enough and if so you can always use the production version (but not vice-versa, that's the reason)
  2. As we're using docker-compose I change the service / container-names - let docker-compose handle and prefix them
  3. Since publishing a pre-build version to docker-hub I'd be impossible to update the configuration files after pulling the images therefore both the backend and front-end get build every time which allows you to update your configuration every time you start it.
  4. For performance reasons I'd prefer that the frontend get's served directly by the tool of your choice (e.g. nginx, apache etc..). Serving the frontend twice using proxy_pass causes a useless performance overhead.

PS: I don't know what happend but apparently github doesn't display any commits on this branch here...