Unofficial Docmost Community build with native Keycloak/OIDC SSO support enabled.
1.5K
Open-source collaborative wiki and documentation software with Keycloak SSO support.
Docmost is a modern, open-source alternative to Confluence and Notion. It is designed for real-time collaboration, allowing teams to create, organize, and share knowledge seamlessly.
This particular image includes built-in support for Keycloak Single Sign-On (SSO).
Website | Documentation | GitHub
The easiest way to run Docmost is using Docker Compose.
docker-compose.yml fileversion: "3"
services:
docmost:
image: devj007/docmost-sso:latest
depends_on:
- db
- redis
environment:
APP_URL: "http://localhost:3000"
APP_SECRET: "REPLACE_WITH_LONG_HEX_STRING"
DATABASE_URL: "postgresql://docmost:STRONG_DB_PASSWORD@db:5432/docmost?schema=public"
REDIS_URL: "redis://redis:6379"
# Keycloak Configuration (Optional)
KEYCLOAK_ISSUER_URL: ""
KEYCLOAK_CLIENT_ID: ""
KEYCLOAK_CLIENT_SECRET: ""
KEYCLOAK_CALLBACK_URL: "http://localhost:3000/api/auth/keycloak/callback"
ports:
- "3000:3000"
restart: unless-stopped
volumes:
- docmost:/app/data/storage
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: docmost
POSTGRES_USER: docmost
POSTGRES_PASSWORD: STRONG_DB_PASSWORD
restart: unless-stopped
volumes:
- db_data:/var/lib/postgresql/data
redis:
image: redis:7.2-alpine
restart: unless-stopped
volumes:
- redis_data:/data
volumes:
docmost:
db_data:
redis_data:
openssl rand -hex 32) and replace REPLACE_WITH_LONG_HEX_STRING.docmost (DATABASE_URL) and db (POSTGRES_PASSWORD) services.docker-compose up -d
Open your browser and navigate to http://localhost:3000.
| Variable | Description | Required |
|---|---|---|
APP_URL | The URL where the application is hosted (e.g., https://docs.example.com). | Yes |
APP_SECRET | A long random string used for signing sessions and tokens. | Yes |
DATABASE_URL | PostgreSQL connection string. | Yes |
REDIS_URL | Redis connection string. | Yes |
KEYCLOAK_ISSUER_URL | The URL of your Keycloak realm. | No |
KEYCLOAK_CLIENT_ID | Keycloak Client ID. | No |
KEYCLOAK_CLIENT_SECRET | Keycloak Client Secret. | No |
KEYCLOAK_CALLBACK_URL | OIDC Callback URL. | No |
Docmost is licensed under the AGPL-3.0 license.
Content type
Image
Digest
sha256:68d863c2b…
Size
297.7 MB
Last updated
6 months ago
docker pull devj007/docmost-sso