Sign inSign up

paulknulst/affine

By paulknulst

•Updated over 3 years ago

Docker image for Affine: The Next-Gen Collaborative Knowledge Base

Image
2

10K+

paulknulst/affine repository overview

A Docker version of Affine. It is built automatically after the newest changes from Affine are merged into my GitHub fork at: https://github.com/paulknulst/affine/⁠

Can be run locally with Docker-Compose:

version: '3.9'
services:
  db:
    image: ghcr.io/toeverything/cloud-self-hosted:nightly-latest
    environment:
      - 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
      - JWST_DEV=1
      - RUST_LOG=debug
      - SIGN_KEY=test123
      - RUST_BACKTRACE=full
    networks:
      - default
  web:
    image: paulknulst/affine
    depends_on:
      - db
    ports:
      - "8080:3000"
    networks:
      - default
    environment:
      - NEXT_PUBLIC_FIREBASE_API_KEY=
      - NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
      - NEXT_PUBLIC_FIREBASE_PROJECT_ID=
      - NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
      - NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
      - NEXT_PUBLIC_FIREBASE_APP_ID=
      - NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=
      # absolute path to the block suite directory
      - LOCAL_BLOCK_SUITE=
      # see next.config.js
      - API_SERVER_PROFILE=local
      # save workspace to idb
      - ENABLE_IDB_PROVIDER=1
      - PREFETCH_WORKSPACE=1
      - ENABLE_BC_PROVIDER=1
      - EXPOSE_INTERNAL=1
      - ENABLE_DEBUG_PAGE=0
      - ENABLE_SUBPAGE=1
      - ENABLE_CHANGELOG=1
volumes:
  data:
networks:
  default:
    external: false

I will keep updating until Affine creates its own up2date Docker version. See the repository for more files and updates.

Tag summary

Content type

Image

Digest

sha256:2caeae78f…

Size

1.3 GB

Last updated

over 3 years ago

docker pull paulknulst/affine