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

Confirmed: can host with Dokku #14

Open
ttpro1995 opened this issue Jul 5, 2018 · 6 comments
Open

Confirmed: can host with Dokku #14

ttpro1995 opened this issue Jul 5, 2018 · 6 comments

Comments

@ttpro1995
Copy link

ttpro1995 commented Jul 5, 2018

You can use Dokku on your own server to host bandwidth-hero-proxy. Worked as Heroku
https://github.com/dokku/dokku

Just create an app on Dokku

dokku apps:create bandwidth-hero-proxy # on dokku server

Then from your local PC, push the code to dokku

# on local laptop/pc
git add remote dokku dokku@your-server-ip:bandwidth-hero-proxy
git push dokku master 

Then check for port with

# on dokku server
dokku proxy:ports bandwidth-hero-proxy

your compression server is hosted at

http://your-server-ip:your-port/

@bkvamme
Copy link

bkvamme commented Feb 26, 2019

Little typo in the comment above, which had me (inexperienced gitter) stumble around for a while.

The correct command is:
git remote add dokku dokku@your-server-ip:bandwidth-hero-proxy
not
git add remote dokku dokku@your-server-ip:bandwidth-hero-proxy

Besides that, everything works with dokku.

@swordgreen
Copy link

Before you run
git push dokku master

command, you should run the command:
dokku git:initialize bandwidth-hero-proxy

on the server-side. Otherwise, the git push may fail.

@lucius100
Copy link

I am gonna go crazy tinkering this for 6 hours, lol.
Can somebody help me ?
For someone who never used linux can't set this at all.
Why dokku need to push the code from local pc ?
Is it possible to install all of this via dokku server ?

I tried to install to vps directly without dokku, can work on port 8080, but can't work on nginx proxy forwarding, getting headache.

@ttpro1995
Copy link
Author

ttpro1995 commented Oct 21, 2020

You can push code from server that host Dokku to the git address in Dokku. Dokku work like heroku. It build app from .git

So you must push code.

You can run these command on ssh-terminal of the server that install Dokku too.

git add remote dokku dokku@your-server-ip:bandwidth-hero-proxy
git push dokku master 

@lucius100
Copy link

You can push code from server that host Dokku to the git address in Dokku. Dokku work like heroku. It build app from .git

So you must push code.

You can run these command on ssh-terminal of the server that install Dokku too.

git add remote dokku dokku@your-server-ip:bandwidth-hero-proxy
git push dokku master 

I got it working now without dokku.
Apache and nginx failed me, I used nginx proxy manager to redirect it to my subdomain and add the https
this thing won't work without https.

@ttpro1995
Copy link
Author

It can work without Dokku but Dokku save your time with Apache and Nginx :v

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

4 participants