fix: forgot collection env

This commit is contained in:
skidoodle 2025-01-03 12:33:23 +01:00 committed by GitHub
parent 0a25edbf5c
commit ef451ec621
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,12 +21,14 @@ Before running the app, set the following environment variables in a `.env.local
- `NEXT_PUBLIC_POCKETBASE_URL`: The URL of your PocketBase server. - `NEXT_PUBLIC_POCKETBASE_URL`: The URL of your PocketBase server.
- `EMAIL`: The email address used to log in to the PocketBase instance. - `EMAIL`: The email address used to log in to the PocketBase instance.
- `PASSWORD`: The password used to log in to the PocketBase instance. - `PASSWORD`: The password used to log in to the PocketBase instance.
- `COLLECTION`: The name of the PocketBase collection to store your items.
Example: Example:
```env ```env
NEXT_PUBLIC_POCKETBASE_URL=https://pocketbase NEXT_PUBLIC_POCKETBASE_URL=https://pocketbase
EMAIL=example@example.com EMAIL=example@example.com
PASSWORD=yourpassword PASSWORD=yourpassword
COLLECTION=pbcollection
``` ```
### Running Locally ### Running Locally
@ -55,6 +57,7 @@ Access the app at `http://localhost:3000`.
-e NEXT_PUBLIC_POCKETBASE_URL=https://pocketbase \ -e NEXT_PUBLIC_POCKETBASE_URL=https://pocketbase \
-e EMAIL=example@example.com \ -e EMAIL=example@example.com \
-e PASSWORD=yourpassword \ -e PASSWORD=yourpassword \
-e COLLECTION=pbcollection \
ghcr.io/skidoodle/budgetable:main ghcr.io/skidoodle/budgetable:main
``` ```
3. Access the app at `http://localhost:3000`. 3. Access the app at `http://localhost:3000`.
@ -73,6 +76,7 @@ Access the app at `http://localhost:3000`.
NEXT_PUBLIC_POCKETBASE_URL: https://pocketbase NEXT_PUBLIC_POCKETBASE_URL: https://pocketbase
EMAIL: example@example.com EMAIL: example@example.com
PASSWORD: yourpassword PASSWORD: yourpassword
COLLECTION=pbcollection
volumes: volumes:
data: data:
``` ```