Skip to content

Instantly share code, notes, and snippets.

@ameersami
Created May 22, 2019 02:54
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 ameersami/12768ee8e089a8b61117d89ae66bebe3 to your computer and use it in GitHub Desktop.
Save ameersami/12768ee8e089a8b61117d89ae66bebe3 to your computer and use it in GitHub Desktop.
setup script for the ci cd pipeline
mkdir portainer portainer/data
echo 'Create docker web network'
docker network create --scope=swarm web
echo 'Running chmod on acme.json'
chmod 600 ./traefik/acme.json
echo 'Starting services....'
docker stack deploy proxy --compose-file docker-compose.yml
echo 'All services up I think....'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment