Not sure where to place this, so putting it here in the meantime.
Deploying your application and adding https
We have a dokku setup for deploying applications. To deploy do (you have to have permission first):
# if you already have added the remote, you don't need to do it again
> git remote add dokku dokku@cloud.ipfs.team:webrtc-star-signalling
> git push dokku master
You can replace webrtc-star-signalling with whatever your applications name is. Once you push it, it'll start deploying and end with outputting the URL where it's deployed.
Adding custom domain + https
If you want to add https, you'll need to do two steps (using webrtc-star-signalling as a example). These commands needs to be run on the dokku host (currently cloud.ipfs.team)
Same structure, just change domains:add for letsencrypt basically. Once this step is done, it should output done and you should be able to access both star-signal.cloud.ipfs.team and wrtc-star.discovery.libp2p.io over https.
Not sure where to place this, so putting it here in the meantime.
Deploying your application and adding https
We have a dokku setup for deploying applications. To deploy do (you have to have permission first):
You can replace
webrtc-star-signalling
with whatever your applications name is. Once you push it, it'll start deploying and end with outputting the URL where it's deployed.Adding custom domain + https
If you want to add https, you'll need to do two steps (using
webrtc-star-signalling
as a example). These commands needs to be run on the dokku host (currently cloud.ipfs.team)star-signal
is the application namestar-signal.cloud.ipfs.team
is the domain it's automatically deployed on when doinggit push
wrtc-star.discovery.libp2p.io
is our custom domain that we've pointed to188.166.203.82
already (usually done via DNSimple)Now we can get a certificate.
Same structure, just change
domains:add
forletsencrypt
basically. Once this step is done, it should outputdone
and you should be able to access bothstar-signal.cloud.ipfs.team
andwrtc-star.discovery.libp2p.io
over https.