Skip to content

Configuration

Flomp edited this page Mar 21, 2024 · 4 revisions

Configuration

meilisearch

wanderer requires the MEILI_MASTER_KEYenvironment variable to be set. Ensure that you change it to a unique secure value before deploying wanderer in a production environment.

meilisearch comes with a wide variety of other options that you can configure at launch. Head over to their documentation to learn more.

PocketBase

wanderer requires the MEILI_MASTER_KEY environment variable to be set. It must be the same value that was used in the meilisearch service. To establish communication the MEILI_URL environment variable must also be set. This is the URL under which meilisearch is reachable from within PocketBase. It can be either a public URL or one within the docker network if you deployed wanderer via docker.

Web

The frontend service requires three variables. The MEILI_URL variable is equivalent to the one in the PocketBase service. The PUBLIC_POCKETBASE_URL variable enables the frontend to establish communication with the PocketBase service. Thus, it must be set to the URL under which PocketBase is reachable from within the frontend service. The ORIGIN environment variable must be set to the public IP or hostname including the port that wanderer is reachable at. This prevents CORS errors from occurring. The BODY_SIZE_LIMIT limits the upload size of files. By default, this is set to Infinity allowing files of arbitrary size to be uploaded. Setting the DISABLE_SIGNUPto true will prevent new users from signing up. To make an account you will need to create a user directly in PocketBase.

Clone this wiki locally