Skip to content

Instantly share code, notes, and snippets.

@hunterlong
Last active January 4, 2019 03:44
Show Gist options
  • Save hunterlong/eb995ee5045978869cb5b18a1a58a5bc to your computer and use it in GitHub Desktop.
Save hunterlong/eb995ee5045978869cb5b18a1a58a5bc to your computer and use it in GitHub Desktop.
# Deploy Portainer demo (demo.portainer.io) in a play-with-docker playground
#
# - Go to http://play-with-docker.com/?stack=https://raw.githubusercontent.com/portainer/portainer-demo/master/play-with-docker/docker-stack.yml
# - Login and/or Start.
# - Wait until 'Your session is ready!' and 'Close' modal.
# - Refresh (if a shell is not shown).
# - Wait until a link with text '80' is shown. It is the link to the demo.
# - Visit https://github.com/portainer/portainer to check default credentials.
#
version: '3'
services:
trigger:
image: franela/dind
command: sh -c "wget https://github.com/hunterlong/statping/releases/download/v0.80.34/statping-linux-alpine.tar.gz && tar -xvzf statping-linux-alpine.tar.gz && ./statping"
volumes: ['/var/run/docker.sock:/var/run/docker.sock']
environment:
DB_CONN: sqlite
NAME: Statping Demo
DESCRIPTION: This is a Statping Demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment