Comments (3)
If we work together to figure this out, I'm happy to contribute docs to the readme for this 😄
from knests.
Hi @Beeze,
I didn't had the necessary time lately to work on extra projects unfortunately.
There are in fact more choices on how to host this:
- without using anything docker (use nginx as a web server to serve the static files generated by the app in the
client/
folder, then configure and start the server using pm2) - using docker swarm - this might work out-of-the-box right now, once you have a docker installation in swarm mode on some server (which is as easy as
docker swarm init
), by replacing thedocker-compose up ...
withdocker stack deploy ...
. I have a few apps deployed using docker swarm and I am quite happy with them - I added K8s on the roadmap, because it seems to be what the industry prefers so I thought it would be helpful to have some exposure to it, even though it's more complicated, more expensive and much difficult to debug (without extensive training on kubernetes).
I think the best way to implement the k8s deployment, would be using helm charts. This one over here seems to be a good starting point.
Please let me know if I can assist you further, but also please be aware that the more complex the issue is, the more it might take me to investigate and resolve it (since I don't have that much free time in the next few months)
from knests.
thanks for following up @tudorconstantin, I'll try out docker swarm and see how it works! will follow up
from knests.
Related Issues (17)
- Npm install without rebuilding image? HOT 2
- Error: Missing "driver" option. In the latest version of "@nestjs/graphql" package (v10) a new required configuration property called "driver" has been introduced.
- Share Graphql models between server and client?
- Links in "How it looks" section are broken
- Just curious how you're deploying next.js app? HOT 2
- New Routes are 404ing HOT 3
- Console.log doesn't work on classes in the server directory when building with docker HOT 1
- Proxying refuses connection pretty often HOT 4
- websocket connection to graphql 400s often
- Hosting on AWS ECS
- Action Required: Fix Renovate Configuration
- issue in docker build
- "server2.js" you mean server.js right ? HOT 1
- Dependency Dashboard
- Docker compose and npm install error HOT 1
- Unable to resolve dependency tree HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knests.