#!/usr/bin/env bash
CURDIR="$PWD"
DOCKER_NETWORKS=$(docker network ls)
DOCKER_STACKS=$(docker stack ls)
docker network create --driver overlay ingress
docker network create --driver overlay traefikbig
docker swarm init
# SEPARATE traefik and gspecies !!!
docker stack deploy -c docker-compose.yml traefik
docker stack deploy -c docker-compose.yml $1