felicity-lims/deploy-scripts/swarm.sh
2023-04-07 17:52:19 +02:00

16 lines
No EOL
330 B
Bash
Executable file

#! /usr/bin/env sh
# Exit in case of error
set -e
DOMAIN=felicity.com
TRAEFIK_TAG=felicity.com
STACK_NAME=felicity
TAG=production
docker-compose \
-f docker-compose.yml \
config > docker-stack.yml
docker-auto-labels docker-stack.yml
docker stack deploy -c docker-stack.yml --with-registry-auth "${STACK_NAME?Variable not set}"