File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed
Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ TAG=${TAG?Variable not set} \
77FRONTEND_ENV=${FRONTEND_ENV-production} \
88sh ./scripts/build.sh
99
10- docker- compose -f docker-compose.yml push
10+ docker compose -f docker-compose.yml push
Original file line number Diff line number Diff line change 55
66TAG=${TAG?Variable not set} \
77FRONTEND_ENV=${FRONTEND_ENV-production} \
8- docker- compose \
8+ docker compose \
99-f docker-compose.yml \
1010build
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ DOMAIN=${DOMAIN?Variable not set} \
77TRAEFIK_TAG=${TRAEFIK_TAG?Variable not set} \
88STACK_NAME=${STACK_NAME?Variable not set} \
99TAG=${TAG?Variable not set} \
10- docker- compose \
10+ docker compose \
1111-f docker-compose.yml \
1212config > docker-stack.yml
1313
Original file line number Diff line number Diff line change 33# Exit in case of error
44set -e
55
6- docker- compose down -v --remove-orphans # Remove possibly previous broken stacks left hanging after an error
6+ docker compose down -v --remove-orphans # Remove possibly previous broken stacks left hanging after an error
77
88if [ $( uname -s) = " Linux" ]; then
99 echo " Remove __pycache__ files"
1010 sudo find . -type d -name __pycache__ -exec rm -r {} \+
1111fi
1212
13- docker- compose build
14- docker- compose up -d
15- docker- compose exec -T backend bash /app/tests-start.sh " $@ "
13+ docker compose build
14+ docker compose up -d
15+ docker compose exec -T backend bash /app/tests-start.sh " $@ "
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ DOMAIN=backend \
77SMTP_HOST=" " \
88TRAEFIK_PUBLIC_NETWORK_IS_EXTERNAL=false \
99INSTALL_DEV=true \
10- docker- compose \
10+ docker compose \
1111-f docker-compose.yml \
1212config > docker-stack.yml
1313
14- docker- compose -f docker-stack.yml build celeryworker backend
15- docker- compose -f docker-stack.yml down -v --remove-orphans # Remove possibly previous broken stacks left hanging after an error
16- docker- compose -f docker-stack.yml up -d db queue celeryworker backend proxy flower
17- docker- compose -f docker-stack.yml exec -T backend bash /app/tests-start.sh " $@ "
18- docker- compose -f docker-stack.yml down -v --remove-orphans
14+ docker compose -f docker-stack.yml build celeryworker backend
15+ docker compose -f docker-stack.yml down -v --remove-orphans # Remove possibly previous broken stacks left hanging after an error
16+ docker compose -f docker-stack.yml up -d db queue celeryworker backend proxy flower
17+ docker compose -f docker-stack.yml exec -T backend bash /app/tests-start.sh " $@ "
18+ docker compose -f docker-stack.yml down -v --remove-orphans
You can’t perform that action at this time.
0 commit comments