Files
stpweb/docker-compose.dev.yml
adamfandClaude Opus 5.5 94a6abba97
Test and deploy / test (push) Successful in 31s
Test and deploy / deploy (push) Successful in 27s
Move the notes editor and job tracker to stppriv
The SilverBullet editor and the job tracker now run on their own LXC
(adamf/stppriv) at priv.<DOMAIN>, behind Cloudflare Access. Here:

- silverbullet and jobs services removed; /sb/, /jobs/ and the old
  /cv/jobs, /cv/leads and userscript URLs 301 to priv.<DOMAIN>
- silverbullet-git runs with SYNC_MODE=pull: stppriv is the vault's only
  writer. The backend's vault mount is read-only.
- jobs env vars, dev overrides and docs removed; edge_test.sh checks
  the new redirects

Merge only after stppriv serves /sb/ and /jobs/ and the jobs data has
been moved.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 13:53:48 +00:00

33 lines
1.1 KiB
YAML

# Dev overrides, layered on docker-compose.yml. Serves http://localhost (and
# https with Caddy's local CA).
services:
vue:
command: ["npm", "run", "dev"]
volumes:
- ./vue:/app
# Masks the bind mount so the image's node_modules survive.
- /app/node_modules
environment:
- NODE_ENV=development
backend:
environment:
# Spotify needs an exact redirect match, registered in the app.
- SPOTIFY_REDIRECT_URI=https://localhost/api/spotify/callback
- GQL_PLAYGROUND=true
- GQL_INTROSPECTION=true
- DEV_MODE=true
# Dev only: seeds an admin with a known password.
- SEED_DB=true
caddy:
environment:
- CADDY_SITE=dev
python:
command: ["sh", "-c", "uvicorn app.main:app --host 0.0.0.0 --port ${PYTHON_PORT:-8000} --root-path /py --reload"]
volumes:
- ./python/app:/app/app
cloudflared:
# Never start: a dev stack on the tunnel would get real visitors.
profiles:
- disabled