Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #43 from niiknow/master
Browse files Browse the repository at this point in the history
add upgrade doc
  • Loading branch information
noogen authored Mar 23, 2018
2 parents adb9252 + 38db75d commit 8d484f7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ If you use this Docker for hosting and allow your user to login, I also recommen
Enjoy!!!

## Release Notes
1.3.1 - upgrade documentation.

```
- If you're using postgresql 9.5 then you want to backup all your users and then restore them on the new docker using vesta panel.
- If you're not using postgresql, then ssh as admin and run 'sudo bash /bin/vesta-update.shell' to upgrade everything. As always, it is best to backup all your users.
```

1.3.0 - **Breaking Changes**: update to postgresql-9.6, add pgaudit and postgis geo extension. This is the most popular postgresql version that also work best with postgis. Make sure you have all your postgresql databases backuped before updating to this version.

1.2.1 - Update to be more secure and compliance. A bunch of security issues discovered during the holidays were patched by various vendors including cpu (meltdown & spectre) and .net core issues:
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ services:
- "80:80"
- "443:443"
- "8083:8083"
privileged: true
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
sysctls:
net.core.somaxconn: '511'
labels:
- "Vesta Control Panel"
restart: unless-stopped
6 changes: 6 additions & 0 deletions rootfs/sysprepz/admin/bin/vesta-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ rsync --update -raz --progress --exclude 'conf.d' /vesta-start/etc/nginx /etc/ng
# update php conf
rm -rf /vesta/etc/php/*
rsync --update -raz --progress /vesta-start/etc/php/ /vesta/etc/php/

if [ ! -d "/var/lib/postgresql/9.6/" ]; then
echo "[i] add postgresql 9.6"
rsync --update -raz /vesta-start/var/lib/postgresql/9.6/* /vesta/var/lib/postgresql/9.6
rsync --update -raz /vesta-start/etc/postgresql/9.6/* /vesta/etc/postgresql/9.6
fi

0 comments on commit 8d484f7

Please sign in to comment.