partly postgres update

This commit is contained in:
2023-07-05 18:18:08 +02:00
parent 6080db6bc1
commit 086487e1ff
2 changed files with 20 additions and 2 deletions

View File

@@ -2,4 +2,22 @@
Artifact file(s) for Paperless NGX iocage plugin
After install, the admin username and password are both "admin". Please change at first login for security reasons. The web portal for paperless-ngx will be the jail ip address and port 8000. More information on paperless-ngx can be found at https://paperless-ngx.readthedocs.io/en/latest/index.html.
After install, the admin username and password are both "admin". Please change at first login for security reasons. The web portal for paperless-ngx will be the jail ip address and port 8000. More information on paperless-ngx can be found at https://paperless-ngx.readthedocs.io/en/latest/index.html.
allow.sysvipc = 1;
postgresql13-server sudo
/usr/local/etc/rc.d/postgresql initdb
postgresql_enable="YES"
psql -c "alter user postgres with password 'password'"
psql CREATE USER paperless CREATEDB; CREATE DATABASE paperless; GRANT ALL PRIVILEGES ON DATABASE paperless TO paperless;
psql -U postgres -c "CREATE DATABASE paperless;"
psql -U postgres -c "CREATE USER paperless WITH password 'paperless';"
psql -U postgres -c "GRANT ALL privileges ON DATABASE paperless TO paperless;"