This commit is contained in:
@@ -36,6 +36,10 @@ SERVER
|
||||
- Build new image forcing it to update as it sometimes doesn't
|
||||
- sudo docker-compose build --force-rm --pull
|
||||
|
||||
(NOTE: this will *not* pull newer postgres as it's an image already present so to update that need to do a sudo docker pull postgres:alpine first then build the image
|
||||
if the major version is incompatible with the old database then there is a whole process to save it by dumping and re-building or just delete all files in the folder /var/lib/ayanova/db rm * -r
|
||||
to completely remove all the db files and the postgres image will make a new empty db on boot)
|
||||
|
||||
- Run new image
|
||||
- sudo docker-compose up -d
|
||||
|
||||
|
||||
Reference in New Issue
Block a user