Disability Certificate Register Systemπ
10K+
Disability Certificate Register Systemπ β a Next.js app for registering and managing disability certificates.
| Tag | Description |
|---|---|
latest | Latest tagged release |
canary | Latest build of the main branch |
1, 1.1, 1.1.0 | Tagged releases (semver) |
Images are built for linux/amd64 and linux/arm64, run as a non-root user on a distroless Node.js base, and are also published to ghcr.io/openup-labtakizawa/dcrs.
The image bundles the AWS Lambda Web Adapterβ , so it can be deployed as-is to AWS Lambda. Outside Lambda the adapter is inactive and the image runs like any other web server. It is built with DB_TYPE=postgres, i.e. for a standard PostgreSQL server.
The app needs PostgreSQL, a Better Auth secret, a Resend API key for email, and an S3-compatible bucket (or Vercel Blob) for file storage.
docker run -d -p 3000:3000 \
-e DATABASE_URL=postgres://user:password@db:5432/dcrs \
-e BETTER_AUTH_SECRET=$(openssl rand -base64 32) \
-e BETTER_AUTH_URL=https://dcrs.example.com \
-e AUTH_RESEND_KEY=re_xxxxxxxx \
-e S3_ACCESS_KEY_ID=... -e S3_SECRET_ACCESS_KEY=... \
-e S3_REGION=ap-northeast-1 -e S3_BUCKET=dcrs \
marukome0743/dcrs:latest
Then open http://localhost:3000β .
| Variable | Description | Required |
|---|---|---|
DATABASE_URL | PostgreSQL connection string | β |
BETTER_AUTH_SECRET | Secret key for Better Auth session encryption | β |
BETTER_AUTH_URL | Public base URL of the app, e.g. https://dcrs.example.com | β |
AUTH_RESEND_KEY | Resendβ API key for sending emails | β |
BLOB_READ_WRITE_TOKEN | Vercel Blobβ token. When set, Vercel Blob is the storage backend; otherwise S3 is used | β |
S3_ACCESS_KEY_ID | S3 access key ID (required for the S3 backend) | β |
S3_SECRET_ACCESS_KEY | S3 secret access key (required for the S3 backend) | β |
S3_REGION | S3 region (AWS_REGION is also accepted) | β |
S3_BUCKET | S3 bucket name (uses the default when omitted) | β |
S3_ENDPOINT | S3-compatible endpoint URL, e.g. http://localhost:9000 for RustFS. Enables path-style access | β |
API_URL | Base URL for the API (default http://localhost:3000) | β |
PORT | Port the server listens on (default 3000) | β |
Content type
Image
Digest
sha256:8d62b7e19β¦
Size
76.2 MB
Last updated
6 months ago
docker pull marukome0743/dcrs