generated from polymech/site-template
17 lines
447 B
Bash
17 lines
447 B
Bash
#!/bin/bash
|
|
|
|
echo "Starting PocketBase..."
|
|
docker-compose up -d
|
|
|
|
# Wait for the container to be ready
|
|
echo "Waiting for PocketBase to be ready..."
|
|
sleep 5
|
|
|
|
# Check if the container is running
|
|
if docker ps | grep -q pocketbase; then
|
|
echo "PocketBase is now running!"
|
|
echo "Admin UI: http://localhost:8090/_/"
|
|
echo "API: http://localhost:8090/api/"
|
|
else
|
|
echo "Failed to start PocketBase. Check the logs with: docker-compose logs"
|
|
fi |