Skip to content
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

Add docker support #2

Open
aikooo7 opened this issue Oct 9, 2024 · 9 comments
Open

Add docker support #2

aikooo7 opened this issue Oct 9, 2024 · 9 comments

Comments

@aikooo7
Copy link

aikooo7 commented Oct 9, 2024

This project is quite nice, but docker support is missing which is a big thing for selfhosters. Is it being done or could I implement it?

@hamzasaleem2
Copy link
Owner

hey @aikooo7

Thanks for the suggestion! Docker support would be a great addition. I might get to it eventually, but if you're interested in taking it on, feel free!

Let me know if you have any questions or need help. Would love to see what you come up with!

@aikooo7
Copy link
Author

aikooo7 commented Oct 9, 2024

Hey @hamzasaleem2,

I have the Dockerfile semi-done but this project has some external services used, is the documentation in #1 reliable to me to use?

@hamzasaleem2
Copy link
Owner

@aikooo7 yes i provided that actually. here's the notion site link:
https://kaput-seaplane-9ca.notion.site/Sticky-Self-Hosting-Guide-067095a6cb5d445c87e9616ea2ebea61

convex.dev is my backend service. which is also open source.
here:
https://github.com/get-convex/convex-backend

@aikooo7
Copy link
Author

aikooo7 commented Oct 9, 2024

What port does the frontend use?

@aikooo7
Copy link
Author

aikooo7 commented Oct 9, 2024

Also, I am afraid the env vars and the being logged in in convex needs to be done at compile times, is that true?

@hamzasaleem2
Copy link
Owner

@aikooo7 we're using vite so the frontend will use 5173 port by default

for convex are you talking about the var that is in convex auth file for clerk ? that needs to be present at build time yes but .env file vars doesn't need to be present for compiling convex backend

@aikooo7
Copy link
Author

aikooo7 commented Oct 10, 2024

for convex are you talking about the var that is in convex auth file for clerk ? that needs to be present at build time yes but .env file vars doesn't need to be present for compiling convex backend

I am talking about needing to be authenticated. That sucks because we can't prebuid the image using github actions, we rather need the user to compile the image themselves.

@aikooo7
Copy link
Author

aikooo7 commented Oct 13, 2024

If that is fine to you let me know so I can make a pr with the dockerfile

@hamzasaleem2
Copy link
Owner

@aikooo7 sure go ahead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants