Skip to content

Commit 05b3c77

Browse files
committed
switch to new docker compose cli command
1 parent 061282a commit 05b3c77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recreate_container.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# This script builds and starts all Docker container for running the Mapswipe ecosystem.
33
# It is run either manually or by an Ansible Playbook after a successful Travis build.
44

5-
docker-compose build --no-cache postgres firebase_deploy mapswipe_workers_creation mapswipe_workers_firebase_to_postgres mapswipe_workers_stats manager_dashboard nginx api
5+
docker compose build --no-cache postgres firebase_deploy mapswipe_workers_creation mapswipe_workers_firebase_to_postgres mapswipe_workers_stats manager_dashboard nginx api
66
if [[ $? = 0 ]]; then
77
echo "success"
88
else
99
echo "failure: $?"
1010
exit
1111
fi
1212

13-
docker-compose up -d --force-recreate postgres firebase_deploy mapswipe_workers_creation mapswipe_workers_firebase_to_postgres mapswipe_workers_stats manager_dashboard nginx api
13+
docker compose up -d --force-recreate postgres firebase_deploy mapswipe_workers_creation mapswipe_workers_firebase_to_postgres mapswipe_workers_stats manager_dashboard nginx api
1414
if [[ $? = 0 ]]; then
1515
echo "success"
1616
else

0 commit comments

Comments
 (0)