You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!, im interested in this new framework. Currently i'm using Bun, ElysiaJS, and Drizzle ORM with PostgreSQL database.
Right now I've setup all of these manually including deployment like Dockerfile, CI/CD with Gitlab actions, and other stuff. I've deployed it to my cheap VPS like $5 a month with docker compose and it's work pretty well.
I've read encore docs and seen the youtube tutorial about deploying to vps like digital ocean. But i'm still confused.
Like:
Where is the dockerfile? you just run encore build docker myapp and voila, docker image created. But where is the Dockerfile? how to optimize it? like using alpine, or distroless for smaller builds.
How to setup the environment variables? right now i just go to my vps server, add .env file there with my docker compose and it's done.
is it possible setup in dev containers? every project i've worked on is always setup on the dev container wether it's bun, node, php, etc. this make my host machine "clean" and free from version conflicts (different php version for example, or node version)
i'm still confused about this "automatically created for you" magic, maybe because I'm used to doing it manually.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!, im interested in this new framework. Currently i'm using Bun, ElysiaJS, and Drizzle ORM with PostgreSQL database.
Right now I've setup all of these manually including deployment like Dockerfile, CI/CD with Gitlab actions, and other stuff. I've deployed it to my cheap VPS like $5 a month with docker compose and it's work pretty well.
I've read encore docs and seen the youtube tutorial about deploying to vps like digital ocean. But i'm still confused.
Like:
encore build docker myapp
and voila, docker image created. But where is the Dockerfile? how to optimize it? like using alpine, or distroless for smaller builds.i'm still confused about this "automatically created for you" magic, maybe because I'm used to doing it manually.
Beta Was this translation helpful? Give feedback.
All reactions