diff --git a/bin/update-deployment.sh b/bin/update-deployment.sh index 9ac232b4..90663aa1 100755 --- a/bin/update-deployment.sh +++ b/bin/update-deployment.sh @@ -18,11 +18,11 @@ cd ~/projects/serieslist git pull echo "Pulling images..." -docker-compose -f docker-compose.production.yml pull +docker compose -f docker-compose.production.yml pull echo "Starting containers..." -docker-compose -f docker-compose.production.yml up -d +docker compose -f docker-compose.production.yml up -d echo "Migrating database..." -docker-compose -f docker-compose.production.yml exec api pnpm migrate:prod +docker compose -f docker-compose.production.yml exec api pnpm migrate:prod ENDSSH echo "Project deployed!" diff --git a/docker-compose.production.yml b/docker-compose.production.yml index 1462f137..3db2a83f 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -1,4 +1,4 @@ -version: '3' +version: '3.4' services: api: