-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Is that any way to self host using docker? #25
Comments
Seems like a lot of folks are interested in this: #12 To be completely honest I'm not very familiar with docker – if someone can PR this option into a branch (i.e. |
Can you specify environment variables needed to run / What services must run in order to run dub.sh? |
Got it from .env.example. |
Im busy with adding a self-host option with docker in a wip branch: docker-compose up -d --build Then access in port 3000: Atm getting a error:
This might perhaps be due to the use of Upstash. Will look into it tomorrow again |
Just wanted to follow up and say that I haven't forgotten about this issue yet – it's top on my TODO list for this week! Sorry again for the delay 😅 |
Is this still in the cards, or not a high priority atm? |
I can help with the docker setup after I'm done with my setup. I've started with a self hosted setup on vercel. Have been able to sort out all issues. Just that how do I set the Currently all the links on the home page point to dub.sh like for eg. the login page. What I'm not sure about is how to configure my own subdomain(for eg. @steven-tey any idea on this? |
@IzMichael yes it's definitely still in the cards, apologies for the delay, I was busy with Next.js Conf + a few other updates for Dub the last couple of weeks. Will get to this as soon as I can! @ps-89 we'll probably need to turn all instances of |
@steven-tey I can raise a PR for this if you want(will help other folks with self set up) Also, any plans to have a community slack/discord? |
@ps-89 That would be amazing – I'm also trying to think of a way to modularize away all the unnecessary stuff (e.g. landing page, Stripe integration), if y'all have any ideas I'm all ears! One way to do this is with Next.js 13's route groups 👀 As for community Slack/Discord, I'm thinking of trying out Threads instead, but might stick to Discord depending if it works out well with an OSS model. Will keep y'all posted! |
@steven-tey Sure will raise a couple of PRs to start fixing a few things. I made a fork(via deploy on vercel button...not exactly a fork) and made it run on vercel but that required quite a few tweaks here and there. Will raise a PR to merge it into this repo. We can try threads or slack or discord, whatever folks have a low barrier to entry and less context switch in using. Also, whichever is free and/or cheap. Primary reason is to ideate over a comms platform and perhaps fix few issues us(and others) are or might be facing. Let's set it up. |
@ps-89 here you go: https://dub.sh/slack It's by no means polished yet but feel free to join! :) |
@steven-tey I guess it needs elegance.co email. And I tried with Google login, but didn't work.
I've DMed you my email for slack on your twitter. |
@ps-89 Oh weird, sorry about that! I just updated the link – can you try again?= |
Any update here? I'd love to self-host but prefer everything through docker and running on my home-lab. |
Any update here? steven-tey |
I'm interested in self-host docker as well. |
+1 |
any movemenet on this? its been over a year. dub.sh looks cool but I'd like docker-compose.yml support. |
+1 |
Docker would be perfect. |
Quickly following up here – we don't have any plans to add official Docker support for Dub, but we're more than happy to accept community contributions! It'll look something like @calcom's community-maintained Docker support: https://cal.com/docs/introduction/quick-start/self-hosting/docker |
Can I ask why you won't support Docker officially? |
+1 |
I believe the best option here is to install Docker using coolify.io. They have already suggested it there, and I believe they will integrate it soon. Coolify is another amazing Docker management panel. Adding integration as a template will benefit users of both projects, creating a win-win situation. |
Any updates on when docker support will be possible? maybe without external database analytics and such, just docker and a local database probably in a docker container on Coolify panel. |
+1 |
Whats the point of open source if you don't support docker to self host? just for free development and then charge subscriptions? |
This reminds me of this sherlock-project/sherlock#2011 :D Yes docker is easy to spin up something, but is not tied to open source. It does not make a project less-open-source if they don't offer docker deployment. But being open source, you are free to make a PR, but I can already say that some features next.js are not easy to be self hosted. (See also https://dub.co/docs/self-hosting#caveats)a Lets now stop making comments that provide zero value. Feel free to discuss things you tried and seem to work.
|
Is that any way (or future) plan for hosting using docker?
The text was updated successfully, but these errors were encountered: