Skip to content

Commit

Permalink
Add: Upgrade script backs up database before upgrading Docker images.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferlund committed Aug 15, 2022
1 parent d040dc9 commit 31e2e38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions upgrade.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
bash database-backup.sh
docker compose -f ./docker-compose.production.yml pull
docker compose -f ./docker-compose.production.yml down
docker compose -f ./docker-compose.production.yml up -d --remove-orphans

0 comments on commit 31e2e38

Please sign in to comment.