mirror of
https://github.com/documenso/documenso.git
synced 2026-09-29 16:24:30 +10:00
The Docker start script runs Prisma migrations. The Prisma schema reads `NEXT_PRIVATE_DIRECT_DATABASE_URL`, and the migrations stopped with error P1012 when the variable was not set. If the variable is empty, the start script sets it to `NEXT_PRIVATE_DATABASE_URL`. This agrees with the documentation and with docker/production/compose.yml.
Docker Setup for Documenso
For full instructions on running Documenso with Docker, see the official documentation:
- Docker Deployment — Standalone container with an external database
- Docker Compose Deployment — Production setup with PostgreSQL included
- Environment Variables — Full configuration reference
- Signing Certificate — Set up document signing