diff --git a/README.md b/README.md index 224c9ae..a91069f 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 94898cf..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -services: - pocketbase: - build: . - ports: - - "8080:8080" - volumes: - - ./pb_data:/pb/pb_data - restart: unless-stopped \ No newline at end of file diff --git a/dockerfile b/dockerfile deleted file mode 100644 index 9593f68..0000000 --- a/dockerfile +++ /dev/null @@ -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"] \ No newline at end of file diff --git a/pb_backup.zip b/pb_backup.zip deleted file mode 100644 index 1ca8ddb..0000000 Binary files a/pb_backup.zip and /dev/null differ