The external PocketBase instance is referenced by the POCKETBASE_URL env variable (compose and Dockerfile build packs both supported). The schema export stays at pb_schema.json as a reference for provisioning.
18 lines
693 B
YAML
18 lines
693 B
YAML
# PokeShare app, pointing at an external PocketBase instance.
|
|
# In Coolify, deploy this file as a "Docker Compose" resource and expose the
|
|
# `app` service on your public domain.
|
|
services:
|
|
app:
|
|
build: .
|
|
restart: unless-stopped
|
|
environment:
|
|
# Full URL of the PocketBase instance to use (required).
|
|
POCKETBASE_URL: ${POCKETBASE_URL:-https://pokeshare.namarusaja.me}
|
|
healthcheck:
|
|
# / redirects to /login (302) — check a 200 endpoint instead
|
|
test: "wget -q -O /dev/null http://localhost:4321/login || exit 1"
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 15s
|