♻ Move project source files to top level from src, update Sentry dependency (#630)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
16
scripts/deploy.sh
Normal file
16
scripts/deploy.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#! /usr/bin/env sh
|
||||
|
||||
# Exit in case of error
|
||||
set -e
|
||||
|
||||
DOMAIN=${DOMAIN?Variable not set} \
|
||||
TRAEFIK_TAG=${TRAEFIK_TAG?Variable not set} \
|
||||
STACK_NAME=${STACK_NAME?Variable not set} \
|
||||
TAG=${TAG?Variable not set} \
|
||||
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}"
|
Reference in New Issue
Block a user