|
@@ -1,2 +1,15 @@
|
1
|
1
|
postfixadmin default admin:
|
2
|
|
-root@example.org:toor42
|
|
2
|
+root@example.com:toor42
|
|
3
|
+
|
|
4
|
+## Upgrade 1.x.x => 2.x.x:
|
|
5
|
+
|
|
6
|
+- Move SSL certs to `data/common/certs/{cert.pem,privkey.pem,chain.pem,fullchain.pem}`
|
|
7
|
+- Visit postfixadmin/setup.php to upgrade database
|
|
8
|
+
|
|
9
|
+```
|
|
10
|
+docker-compose down
|
|
11
|
+docker run --rm -v "$(pwd)/data/postgresql/data:/var/lib/postgresql/9.6/data" -v "$(pwd)/data/postgresql/data_new:/var/lib/postgresql/11/data" tianon/postgres-upgrade:9.6-to-11
|
|
12
|
+mv data/postgresql/data data/postgresql/data_old
|
|
13
|
+mv data/postgresql/data_new data/postgresql/data
|
|
14
|
+docker-compose up --build -d
|
|
15
|
+```
|