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.
19 lines
640 B
19 lines
640 B
#! /usr/bin/env sh
|
|
|
|
# Exit in case of error
|
|
set -e
|
|
|
|
DOMAIN=backend \
|
|
docker-compose \
|
|
-f docker-compose.shared.base-images.yml \
|
|
-f docker-compose.shared.env.yml \
|
|
-f docker-compose.shared.depends.yml \
|
|
-f docker-compose.deploy.build.yml \
|
|
-f docker-compose.test.yml \
|
|
config > docker-stack.yml
|
|
|
|
docker-compose -f docker-stack.yml build
|
|
docker-compose -f docker-stack.yml down -v --remove-orphans # Remove possibly previous broken stacks left hanging after an error
|
|
docker-compose -f docker-stack.yml up -d
|
|
docker-compose -f docker-stack.yml exec -T backend-tests /tests-start.sh
|
|
docker-compose -f docker-stack.yml down -v --remove-orphans
|
|
|