muchobien / pocketbase-docker Goto Github PK
View Code? Open in Web Editor NEWPocketbase docker image
Pocketbase docker image
when running: docker pull ghcr.io/muchobien/pocketbase:latest
I get the following response:
Error response from daemon: Head "https://ghcr.io/v2/muchobien/pocketbase/manifests/latest": denied: denied
Is there a straight forward way to apply initial migrations on startup? Thank you.
I saw this but am not quite sure how to do it with the docker-compose?
Hello.
I'm currently trying to setup pocketbase like this:
version: "3.7"
services:
pocketbase:
image: ghcr.io/muchobien/pocketbase:latest
container_name: pocketbase
restart: unless-stopped
ports:
- "8000:8090"
volumes:
- /opt/pocketbase/data:/pb_data
- /opt/pocketbase/public:/pb_public
environment:
- APP_URL=http://IP_ADDRESS:8000
Is there a reason pocketbase doesn't see this environment variable ? When I echo from inside the container it's the right value, but in mail templates pocketbase keeps using localhost:8090
where can we specify the migrations directory?
Hi,
This Docker image was a lifesaver, so thank you.
This may be a dumb question but I'm a bit of a noob to this, how do I add pb hooks using this image? Iv'e tried just mounting it as a volume to /pb_hooks but that does't seem to work.
Thanks!
I used docker cli to create a container for pocketbase as provided in readme.
Everything worked fine until I clicked on restore pocketbase backup. After this, it just keeps restarting.
docker kill pocketbase
docker stop pocketbase
Even after this when I start the container. It only shows status as restarting.
Below is the output of docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f921b535309a ghcr.io/muchobien/pocketbase:latest "/usr/local/bin/pock…" 14 minutes ago Restarting (1) 48 seconds ago pocketbase
Hi and thank you for making it easy to deploy Pocketbase with Docker.
I have run into a slight issue which I can only replicate when running Pocketbase in a Docker container using your image. I've replicated this on multiple versions including the latest 0.18.10.
When running pocketbase migrate collections
(either in Docker desktop or using docker compose exec -it pocketbase sh -c "/usr/local/bin/pocketbase migrate collections"
), I get this error: Failed to fetch migrations list: SQL logic error: no such table: _collections (1)
As said, this does not happen if I just download the executable and perform the same command. I'm not sure whether this is even an issue with your image, but perhaps you or someone here might know how to solve it.
volumes:
- ./pb_data:/pb_data
- ./pb_migrations:/pb_migrations
- ./pb_hooks:/pb_hooks
---- to update, just added
entrypoint: /usr/local/bin/pocketbase serve --http=0.0.0.0:8090 --dir=/pb_data --hooksDir=/pb_hooks
When I try to update SMTP, Application Settings, or add an Auth Provider, I get a generic error An error occurred while submitting the form.
Forgive my newbie-ness, but I don't see any errors in container log - should I be looking somewhere else?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.