Real-time collaborative workspace backend with Node, Express, Prisma, PostgreSQL & Redis sockets.
59
A production-ready REST and WebSocket backend service powering a real-time collaborative workspace, document authoring, and workspace membership platform. Built using Node.js, Express, Prisma ORM, PostgreSQL, and Redis-backed WebSockets for live document synchronization.
@prisma/adapter-pg connection pooling for reliable relational workspace data.| Variable | Required | Default | Description |
|---|---|---|---|
PORT | No | 5000 | Port container listens on internally |
NODE_ENV | No | production | Runtime mode (production / development) |
DATABASE_URL | Yes | — | PostgreSQL connection string (include &sslmode=disable for internal local networks) |
JWT_SECRET | Yes | — | Secret string used to sign and verify auth tokens |
REDIS_HOST | Yes | redis | Hostname of the Redis instance used for Pub/Sub |
REDIS_PORT | No | 6379 | Port for Redis connection |
docker run -d \
--name workspace-backend \
-p 5000:5000 \
-e PORT=5000 \
-e NODE_ENV=production \
-e DATABASE_URL="postgresql://user:password@postgres:5432/workspace_db?schema=public&sslmode=disable" \
-e JWT_SECRET="your_jwt_secret" \
-e REDIS_HOST="redis" \
-e REDIS_PORT=6379 \
70madmax07/collaborative-workspace-backend:latest
Content type
Image
Digest
sha256:2957367a4…
Size
283.1 MB
Last updated
about 17 hours ago
docker pull 70madmax07/collaborative-workspace-backend