Skip to content

Instantly share code, notes, and snippets.

View obrassard's full-sized avatar

Olivier Brassard obrassard

View GitHub Profile
@obrassard
obrassard / portainer-dokku.md
Created January 23, 2020 01:34 — forked from woudsma/portainer-dokku.md
TLS secured TCP exposed Docker daemon on Dokku host - setup

TLS secured TCP exposed Docker daemon on Dokku host - setup

  1. Create certificates
  2. Edit Docker options
  3. Restart Docker
  4. Copy client certificates from host
  5. (optional) Add remote endpoint in Portainer

Tested on a standard $5/mo DigitalOcean VPS running Ubuntu 16.04.


@obrassard
obrassard / xdebug-vagrant-vscode.md
Last active March 11, 2020 16:29 — forked from sveggiani/instructions.md
[Configure XDebug, Visual Studio Code for a Vagrant VM] #debug #vm #vscode

Configure XDebug, Visual Studio Code for a Vagrant VM

1. Assumptions

  • Project is served on /vagrant/craft in the Vagrant box
  • Guest machine IP is 10.0.2.2 (if this doesn't work, run route -nee in the VM and look for the gateway address)

2. Configuration