-
Notifications
You must be signed in to change notification settings - Fork 190
feat: Adds Docker Compose setup for easy self-hosting #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
So I ran this in a confidential VM on Phala Cloud, but I had to make some changes due to the prisma migration. Dockerfiledocker-compose.yml file Ended up working very well. So essentially I have a setup like this: |
|
@HashWarlock Thanks for checking it out. The changes regarding the migration are not necessary, though. I kept the You can find the So basically, you can check out my feature branch and do the following: |
|
Oh, I should provide some context. We build and publish Docker images in CI and then launch those images inside confidential VMs (CVMs) on Phala Cloud via dstack. That means production runs prebuilt, reproducible images on trusted hardware, so we never Our setup is stricter than running locally or on a normal VM. On your own machine, you can spin up Docker, run Some additional background on my goal is to offer a reproducible developer environment that can be run securely and private by default for dev teams driven by AI. This would be one of our products in our confidential AI marketplace. So my requirements are:
From my investigation, the best UX was through Happy which is the video I uploaded. We could meet to discuss more if there is any interest in this solution, but no pressure. I am a really big fan of what you built & will be tinkering with the solution to fit our needs. Thanks again for building such a great product to help enhance confidential AI. |
|
Why you need this level of protection? |
|
This looks fabulous. I'll give it a try. I made a much more basic setup for running/testing/extending all three happy components locally: |
This PR adds a complete Docker Compose setup that makes self-hosting Happy Server straightforward. The user only needs to copy the template
compose.yml.tmplover tocompose.ymland add aHANDY_MASTER_SECRET.I adjusted the following: