hey, I am running a nodejs server inside dokku, but nginx is dropping the cookie header -- but only from the websockets
gliderlabs has left the channel
gliderlabs joined the channel
gliderlabs has quit
gliderlabs joined the channel
domanic has quit
cob joined the channel
fleetfox
cookies?
there are no cookies for websocket, just on handshake
darkelda joined the channel
bongjovi joined the channel
domanic joined the channel
haaj joined the channel
cdbattags joined the channel
cdbattags joined the channel
cdbattags joined the channel
kimus joined the channel
kimus
hi, i've installed dokku, setup 2 node apps with no problem. even added mongodb plugin and works fine. The third app doesn't wan't to work :-S 'dokku enter' and do a curl http://localhost:5000/ works fine... from the host curl http://<app_ip>:5000/ says connection refused
haaj joined the channel
lsde joined the channel
domanic has quit
haaj joined the channel
beardicus joined the channel
beardicus has quit
beardicus joined the channel
cdbattags joined the channel
haaj joined the channel
cdbattags joined the channel
koorb joined the channel
cdbattag_ joined the channel
haaj_ joined the channel
koorb_ joined the channel
xploshioon joined the channel
koorb has quit
dvim joined the channel
knksmith57 joined the channel
xploshioon has quit
koorb_ has quit
savant joined the channel
lsde joined the channel
gajus joined the channel
gajus
I am freaking confused where to start with Docker
every article branches out to 10 more softwares
now I am suddenly reading about Dokku, Flynn and Dies
Deis*
can someone link me to a high level overview of why I need dokku?
[Jose Diaz-Gonzalez] you need both the deployment keys and hostkeys plugin
[Martin Triay] ok
[Martin Triay] but why?
[Martin Triay] isnt the hostketys plugin for authorized_keys?
[Martin Triay] if i understand correctly, that's only to push into dokku
[Martin Triay] not for pulling from github to dokku
[Martin Triay] this is the output i'm getting from shippable (CI)
[Martin Triay] ```remote: npm ERR! Cloning into bare repository '/app/.npm/_git-remotes/git-ssh-git-github-com-benchrise-benchrise-common-git-ef7350ab'...
remote: npm ERR! Host key verification failed.
remote: npm ERR! fatal: Could not read from remote repository.
remote: npm ERR!
remote: npm ERR! Please make sure you have the correct access rights
remote: npm ERR! and the repository exists.
remote: npm ERR!
remote: npm ERR!
remote: npm ERR! If you need help, you may report this error at:
Manage hostkeys (for .ssh/known_hosts) to your container environment
This is useful if you hide your sourcecode in private repositories at VCS providers such as GitHub or Bitbucket.
You probably need something to manage your deployment keys as well. Checkout dokku-deployment-keys
```
[Martin Triay] @michaelshobbs: @savant thanks! it worked
[Martin Triay] but i'm not sure why it did
[Martin Triay] without the plugin dokku does not accept any new host?
[michaelshobbs] because ssh
[Jose Diaz-Gonzalez] ^
[Jose Diaz-Gonzalez] This isn't specific to dokku
[Jose Diaz-Gonzalez] You'd have to do the same on your own hosting infrastructure
[michaelshobbs] reading up on ssh/git/docker/nginx/etc will help
[Jose Diaz-Gonzalez] in my case, we have the host have a key that is tied to a deploy user which is then attached to all repositories.
[michaelshobbs] but if it works, it works
domanic has left the channel
hildersantos joined the channel
hildersantos
Hi, friends! I currently have a Dokku setup on DO, and everything is running quite good (awesome app, btw!). But... I'm a bit lost when it concerns to send email though a container. For example: Is there a way I can send emails though, let's say, the Postfix I do have installed on my server? Thanks in advance, I'm kinda newbie on Docker/Dokku yet! Thanks, friends.
*through
savant
you dont talk to the host
it has to be within the container
so if you have postfix on the host, that doesnt matter to your application
if you wanted postfix on the container, you'd need the dokku-apt plugin to set that up (its linked to in our docs on community plugins)
gliderlabs
[michaelshobbs] you can talk to the host depending on how you have your networking setup
[michaelshobbs] you could also mount the mail dir and write messages for postfix to handle
[michaelshobbs] or install postfix in the container as savant suggested
hildersantos
Hmmm... Thanks @savant! The idea of have postfix @ container seems good to me. I'm running some PHP apps using composer, never did anything Docker related (only a few "hello world" apps. :\ ). So... there's a Dokku Postfix plugin, or, if not, what is the better way that I can "point" my container to install it? Thanks again!
savant
there isnt a plugin for just postfix. you'll want to install the dokku-apt plugin to manage apt dependencies within your app
*or* use a hosted service for sending email
up to you
im headed out, good luck!
hildersantos
Oh, i see now. Just needed to be pointed on the right direction. Thanks, i'll do it!