Every setting the Social Crawl API, the web app, Docker Compose and this docs site read, with its default, its limits and what it does.
On this page
The API checks its environment when it starts (apps/api/src/config/env.ts, a zod schema) and refuses to start, saying which value is wrong. Values are cleaned first: surrounding spaces and quotes are removed, because environment panels and copy and paste often add them.
In Dokploy set them under Environment. With plain Docker put them in a .env file next to docker-compose.yml. .env.example in the repository lists the common ones with comments.
Signs logins and encrypts the saved WebDAV password. At least 32 characters. openssl rand -base64 48. Changing it ends every login and makes the saved WebDAV password unreadable.
ADMIN_PASSWORD_HASH
none, required
Your password as scrypt:<salt>:<hash>, 120 characters. See Install the server.
DATABASE_URL
In Compose: the stack's own db service
A PostgreSQL address. In Compose it is built from POSTGRES_USER, POSTGRES_PASSWORD and POSTGRES_DB. The API refuses an address that points at sc-db with an empty password.
The stack's own database password. Letters and numbers only. Needed while the stack uses its own database, and once on a brand-new install even when DATABASE_URL is set.
POSTGRES_USER
socialcrawl
User of the stack's database.
POSTGRES_DB
socialcrawl
Name of the stack's database.
DB_SYNCHRONIZE
false in the API, true in Compose
Lets TypeORM create and alter tables at start. There are no migrations. See Data model.
MIGRATE_TO_DATABASE_URL
unset
A second address that Settings → Database copies into. Read only when you press Check or Copy. Remove it afterwards.
OLD_DATABASE_URL
unset
The address of the database you left, for Settings → Database to delete its data. Remove it afterwards.
The largest video the extension may send. Settings → Videos overrides it. While a post is saved the server needs about twice this free on its temp disk.
UPLOAD_DIR
the system's temp folder
Where uploaded videos wait until their post is saved.
VIDEO_CACHE_MB
2048 (0 = off, up to 1,000,000)
How much of the videos kept on WebDAV the server holds on its disk.