Phase F follow-ups (ADR-16): - Calendars: events are now stored in calendar_events by a calendars.sync job (every 15 minutes per account, 90 days back and 400 ahead), so journals open at once and keep showing events while a source is down. Google accounts connect with OAuth (calendar.readonly) through DOCWELL_GOOGLE_CLIENT_ID/SECRET; reconnecting renews access. - OneNote: whole notebooks import through Microsoft Graph (Notes.Read, DOCWELL_MICROSOFT_CLIENT_ID/SECRET/TENANT) in the background, with section groups, sections, subpages, pictures and attached files. The Microsoft sign-in lives in memory for an hour and is never stored. - Readwise: an hourly sync with the person's sealed access token; new books get a page under "Readwise", new highlights are appended once. New readwise_syncs collection. - internal/oauth: signed states and one callback route per provider, routed by purpose. directory gains ImportConverted and CallerOf. - Phone app: "Today's journal" on the home screen and calendar events on journal pages. - Web clipper: `npm run package` builds Chrome/Edge, Firefox and source zips; store/ holds listing texts, permission notes and a privacy policy. - OpenAPI, generated clients, translations, compose and .env examples, and user docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
63 lines
2.5 KiB
Bash
63 lines
2.5 KiB
Bash
# Which released images to run (docker compose pull). Ignored with --build.
|
|
DOCWELL_REGISTRY=ghcr.io/docwell
|
|
DOCWELL_VERSION=latest
|
|
|
|
# PocketBase superuser: docwell-db creates it, docwell-server signs in with it.
|
|
# Change these.
|
|
PB_ADMIN_EMAIL=admin@docwell.test
|
|
PB_ADMIN_PASSWORD=change-me-please
|
|
|
|
# Public addresses of the services.
|
|
DOCWELL_PUBLIC_URL=http://localhost:8080
|
|
DOCWELL_WEB_URL=http://localhost:3000
|
|
DOCWELL_COLLAB_URL=ws://localhost:8080/collab
|
|
|
|
# The Draw.io editor to embed for diagrams. Empty uses the public
|
|
# https://embed.diagrams.net; point it at a self-hosted jgraph/drawio to keep
|
|
# drawings on your network.
|
|
DOCWELL_DRAWIO_URL=
|
|
|
|
# Largest attachment in MB (1-100).
|
|
DOCWELL_MAX_UPLOAD_MB=50
|
|
|
|
# Recordings over 25 MB are cut for transcription by the media service
|
|
# (docwell-media, ffmpeg in a container of its own). Optional shared secret
|
|
# between it and docwell-server. To run without it, remove the media service
|
|
# and set DOCWELL_MEDIA_URL= (blank): MP3 and WAV are then cut by the server.
|
|
DOCWELL_MEDIA_TOKEN=
|
|
|
|
# Optional OAuth apps people sign in to. Google: Google Calendar on journal
|
|
# pages (calendar.readonly). Microsoft: importing whole OneNote notebooks
|
|
# (Notes.Read). Register {DOCWELL_PUBLIC_URL}/api/v1/oauth/google/callback
|
|
# and .../oauth/microsoft/callback as redirect URIs. Blank = off.
|
|
DOCWELL_GOOGLE_CLIENT_ID=
|
|
DOCWELL_GOOGLE_CLIENT_SECRET=
|
|
DOCWELL_MICROSOFT_CLIENT_ID=
|
|
DOCWELL_MICROSOFT_CLIENT_SECRET=
|
|
# "common" (any account), "organizations", "consumers" or a tenant id.
|
|
DOCWELL_MICROSOFT_TENANT=common
|
|
|
|
# Sign-up defaults; the admin panel can change them later.
|
|
# The first account always can sign up and becomes the instance admin.
|
|
DOCWELL_SIGNUP_ENABLED=true
|
|
# Comma-separated email domains allowed to sign up (empty = any).
|
|
DOCWELL_SIGNUP_DOMAINS=
|
|
|
|
# Optional: the first account, created as superadmin on start while the
|
|
# instance has no accounts. Later starts leave it alone (change it in the
|
|
# admin panel). Password: 8 characters or more. Blank = first sign-up wins.
|
|
DOCWELL_ADMIN_EMAIL=
|
|
DOCWELL_ADMIN_PASSWORD=
|
|
DOCWELL_ADMIN_NAME=
|
|
|
|
# Email (verification, password reset, sign-in codes), sent by PocketBase.
|
|
# Empty host = email off. For local testing run `docker compose --profile dev up`
|
|
# with DOCWELL_SMTP_HOST=mailpit and DOCWELL_SMTP_PORT=1025, then open
|
|
# http://localhost:8025 to read the emails.
|
|
DOCWELL_SMTP_HOST=
|
|
DOCWELL_SMTP_PORT=587
|
|
DOCWELL_SMTP_USERNAME=
|
|
DOCWELL_SMTP_PASSWORD=
|
|
DOCWELL_SMTP_TLS=false
|
|
DOCWELL_MAIL_FROM=no-reply@docwell.localhost
|