Skip to content

draftila/draftila

Repository files navigation

Draftila

Draftila

Self-hosted, open-source collaborative design tool.

Installation

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 -d

Open 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 Disclaimer

AI generated and Human verified

License

MIT

Contributing

See CONTRIBUTING.md.

About

Self-Hosted Figma like design tool

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors

Languages