This commit is contained in:
2021-03-10 00:35:42 +00:00
parent cc93bd9f00
commit 9e20099541

View File

@@ -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