23 lines
874 B
Markdown
23 lines
874 B
Markdown
# iocage-plugin-paperless-ngx
|
|
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.
|
|
|
|
|
|
|
|
|
|
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;" |