0.2.0 • Published 1 year ago

@pockethost/plugin-auto-admin v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

plugin-auto-admin

Automatically create an admin user for the PocketBase instance if one doesn't already exist.

A plugin for pockethost.

Quickstart

npx pockethost plugin install @pockethost/plugin-auto-admin

npx pockethost auto-admin --help

Variables

The following variables will be used if they are found in the shell environment. PocketHost will also load them from an .env file if found at load time.

NameDefaultDiscussion
PH_AUTO_ADMIN_HOME.pockethost/plugin-auto-adminThe home directory for any data storage needs of this plugin.
PH_AUTO_ADMIN_LOGINadmin@pockethost.ioThe admin login to use when creating an admin account.
PH_AUTO_ADMIN_PASSWORDpasswordThe admin password to use when creating an admin account.

Actions

Filters

Support

PocketHost has a thriving Discord community.


Sponsored by https://pockethost.io. Instantly host your PocketBase projects.


0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago