Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acifani/pocketbase-docker
Docker image for PocketBase
https://github.com/acifani/pocketbase-docker
docker dockerfile pocketbase
Last synced: 18 days ago
JSON representation
Docker image for PocketBase
- Host: GitHub
- URL: https://github.com/acifani/pocketbase-docker
- Owner: acifani
- Created: 2022-07-13T09:01:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-13T09:48:17.000Z (over 2 years ago)
- Last Synced: 2024-10-30T08:26:33.419Z (2 months ago)
- Topics: docker, dockerfile, pocketbase
- Language: Dockerfile
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pocketbase-docker
Docker image to run [PocketBase](https://pocketbase.io/). Images are available for linux amd64 and arm64.
## Usage
With plain docker
```shell
# default
docker run -p 8090:8090 \
-v $(pwd)/pb_data/:/pocketbase/pb_data/ -v $(pwd)/pb_public/:/pocketbase/pb_public/ \
ghcr.io/acifani/pocketbase:0.2.4-amd64# custom host
docker run -p 8000:8000 \
-v $(pwd)/pb_data/:/pocketbase/pb_data/ -v $(pwd)/pb_public/:/pocketbase/pb_public/ \
ghcr.io/acifani/pocketbase:0.2.4-amd64 \
serve --http 0.0.0.0:8000# custom commands
docker run --rm \
ghcr.io/acifani/pocketbase:0.2.4-amd64 \
migrate
```With docker compose
```yaml
version: '3.9'
services:
pocketbase:
image: 'ghcr.io/acifani/pocketbase:0.2-arm64'
ports:
- '8090:8090'
volumes:
- './pb_data:/pocketbase/pb_data'
- './pb_public:/pocketbase/pb_public'
```