added healthcheck and release note
This commit is contained in:
@ -1,4 +1,14 @@
|
||||
# Attention!!!
|
||||
There are two things you need to change manually:
|
||||
1. insert secrets for mysql database and smtp
|
||||
2. migrate your MySQL database from 5.7 to 8.0
|
||||
|
||||
## 1. insert secret
|
||||
The recipe now includes two secrets: `db_password` and `smtp_password` make sure you change them.
|
||||
To not break somthing, just insert `ghost` as `db_password` because this was the hard coded password before.
|
||||
If desired to change the db-password, I recommend to do try it after migrating as I run in some difficult to debug problems doing this.
|
||||
|
||||
## 2. migrate your MySQL database from 5.7 to 8.0
|
||||
Recipe updates MySQL version from 5.7 to 8.0 as it is the only supported version of ghost:
|
||||
https://ghost.org/docs/faq/supported-databases/
|
||||
|
||||
@ -38,4 +48,7 @@ abra app run ghost.dev.local-it.cloud db -t -- mysql -u root -pghost ghost -B --
|
||||
echo "SET foreign_key_checks=1;" >> ~/.abra/backups/"$APP_URL"_alter_table.sql
|
||||
|
||||
# run these alter_table.sql commands
|
||||
abra app run "$APP_URL" db -t -- mysql -u root -pghost ghost < ~/.abra/backups/"$APP_URL"_alter_table.sql
|
||||
abra app run "$APP_URL" db -t -- mysql -u root -pghost ghost < ~/.abra/backups/"$APP_URL"_alter_table.sql
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user