pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
361 B
15 lines
361 B
#! /usr/bin/env sh
|
|
|
|
# Exit in case of error
|
|
set -e
|
|
|
|
DOMAIN=${DOMAIN?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}"
|
|
|