Dokploy: Build SvelteKit on Push, Deploy via Docker Compose with Shared Network #3296
Unanswered
matthiasguentert
asked this question in
Q&A
Replies: 1 comment
-
|
So far the only solution I see is as follows:
Maybe that's the way to go... I was hoping to get along solely with Dokploy for building and runnning :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am developing a small application with SvelteKit which code I host on Github. This application is ussing Drizzle and a MySQL database.
Now I have created an application in Dokploy using the Github provider that builds my container image on each push to
main. So far so good, the application starts and runs - without DB.I also have created a MySQL database on Dokploy, that I am using with other "compose applications", which I attach to the dokploy-network.
But now I am confused on how I should build & run my SvelteKit application. Do I need to create two applications, one to build (and maybe push the image to a container registry) and another to run a docker compose application?
How are you managing such scenarios? How could I automate such a scenario, so that on each push to main, container builds & compose app redeploys?
Beta Was this translation helpful? Give feedback.
All reactions