Skip to content

Instantly share code, notes, and snippets.

@ernest-okot
Last active April 7, 2018 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ernest-okot/3510185e272d1f32eacded4e9e3aad3d to your computer and use it in GitHub Desktop.
Save ernest-okot/3510185e272d1f32eacded4e9e3aad3d to your computer and use it in GitHub Desktop.
Whoami stack for traefik
version: '3'
services:
whoami0:
image: emilevauge/whoami
networks:
- proxy
deploy:
labels:
traefik.enable: "true"
traefik.frontend.rule: 'Host: whoami.example.com'
traefik.port: 80
traefik.docker.network: 'proxy'
networks:
proxy:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment