Self-hosted, open-source collaborative design tool.
Create a docker-compose.yml:
services:
draftila:
image: draftila/draftila:latest
ports:
- '3001:3001'
environment:
BETTER_AUTH_SECRET: 'change-me-to-a-random-secret'
BETTER_AUTH_URL: 'http://localhost:3001'
FRONTEND_URL: 'http://localhost:3001'
ADMIN_EMAIL: 'admin@example.com'
ADMIN_PASSWORD: 'change-me'
STORAGE_DRIVER: 'local'
STORAGE_PATH: './storage'
volumes:
- draftila_data:/app/data
- draftila_storage:/app/data/storage
restart: unless-stopped
volumes:
draftila_data:
draftila_storage:Run it:
docker compose up -dOpen http://localhost:3001 to get started.
Generate a secret with:
openssl rand -base64 32
To create additional admin accounts on a running container:
docker exec <container> bun run --filter @draftila/api db:create-admin -- \
--email admin@example.com \
--password your-password \
--name "Admin Name"See the full installation guide for configuration options.
AI generated and Human verified
See CONTRIBUTING.md.