Skip to content

Environment configuration

Global settings for wanderer can be adjusted via environment variables. If you depoloyed wanderer with docker you can change the environment variables directly in the docker-compose.yaml. If you deployed wanderer on bare-metal you can change the environment variables in the launch script.

These variables are shared between all three services.

Environment VariableDescriptionDefault
MEILI_URLIP or hostname (including the port) of your meilisearch instancehttp://search:7700
MEILI_MASTER_KEYMaster API key for your meilisearch instancevODkljPcfFANYNepCHyDyGjzAMPcdHnrb6X5KyXQPWo

Since we use an unmodified installation of meilisearch you can use all variables listed in meilisearch’s documentation. You can find a full list over here.

Environment VariableDescriptionDefault
MEILI_NO_ANALYTICSDisable meilisearch telemetrytrue
Environment VariableDescriptionDefault
ORIGINPublic IP or hostname (including the port) of your wanderer frontend (must be the same as in the frontend config)http://localhost:3000
POCKETBASE_ENCRYPTION_KEYValid 32 character AES key. Used to encrypt secrets
POCKETBASE_CRON_SYNC_SCHEDULEValid cron expression. Sets how often trails are synced from 3rd party integrations0 2 * * *
POCKETBASE_SMTP_ENABLEDEnables or disables SMTP functionality. Accepted values are true or falsefalse
POCKETBASE_SMTP_SENDER_ADRESSThe email address used as the “From” address in outgoing emails
POCKETBASE_SMTP_SENDER_NAMEThe display name shown as the sender in outgoing emails
POCKETBASE_SMTP_HOSTThe hostname or IP address of the SMTP server
POCKETBASE_SMTP_PORTThe port number used to connect to the SMTP server
POCKETBASE_SMTP_USERNAMEThe username used to authenticate with the SMTP server
POCKETBASE_SMTP_PASSWORDThe password used to authenticate with the SMTP server
Environment VariableDescriptionDefault
ORIGINPublic IP or hostname (including the port) of your wanderer instancehttp://localhost:3000
BODY_SIZE_LIMITMaximum allowed upload sizeInfinity
PUBLIC_POCKETBASE_URLIP or hostname (including the port) of your pocketbase instancehttp://db:8090
PUBLIC_DISABLE_SIGNUPDisables signup option for new usersfalse
PUBLIC_VALHALLA_URLPublic IP or hostname (including the port) of a valhalla instancehttps://valhalla1.openstreetmap.de
PUBLIC_NOMINATIM_URLPublic IP or hostname (including the port) of a nominatim instancehttps://nominatim.openstreetmap.org
PUBLIC_PRIVATE_INSTANCESetting this to true will block visitors from viewing content without an accountfalse
UPLOAD_FOLDERFolder from which wanderer auto-uploads trails/app/uploads
UPLOAD_USERUsername for the account with which wanderer auto-uploads trails
UPLOAD_PASSWORDPassword for the account with which wanderer auto-uploads trails