Update README.md and remove unnecessary Docker files and configurations

This commit is contained in:
Bram Suurd
2024-06-15 12:40:17 +02:00
parent df258ba222
commit a7faa564cb
4 changed files with 1 additions and 57 deletions

View File

@@ -18,30 +18,4 @@ pnpm install
bun install
```
Next, run the Docker container to host your own PocketBase instance:
```bash
docker compose up -d
```
Head over to `localhost:8080` and register with random details (they will be overwritten later). Apply the `pb_backup.zip` included in the repo.
You will be logged out from your PocketBase instance. Log in again with the following details:
- Email: `example@example.com`
- Password: `changeme123`
Finally, rename `example.env` to `.env`.
Then, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) in your browser to see the result.
then, Open [http://localhost:3000](http://localhost:3000) in your browser to see the result.

View File

@@ -1,8 +0,0 @@
services:
pocketbase:
build: .
ports:
- "8080:8080"
volumes:
- ./pb_data:/pb/pb_data
restart: unless-stopped

View File

@@ -1,22 +0,0 @@
FROM alpine:latest
ARG PB_VERSION=0.22.12
RUN apk add --no-cache \
unzip \
ca-certificates
# download and unzip PocketBase
ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip /tmp/pb.zip
RUN unzip /tmp/pb.zip -d /pb/
# uncomment to copy the local pb_migrations dir into the image
# COPY ./pb_migrations /pb/pb_migrations
# uncomment to copy the local pb_hooks dir into the image
# COPY ./pb_hooks /pb/pb_hooks
EXPOSE 8080
# start PocketBase
CMD ["/pb/pocketbase", "serve", "--http=0.0.0.0:8080"]

Binary file not shown.