Captable, Inc. is the most secure and transparent Open-Source alternative to Carta, Pulley, Angelist
1.5K
An open source alternative to Carta, Pulley, Angelist and others.
Captable, Inc. is an open-source project that you can host on your own server. This gives you full control over your data.
If you like to self-host Captable, Inc., please schedule a call with us, and we will help you set up your own instance.
Prerequisites:
Official Docker Images:
Environment Variables:
Following envrionment variables are required
NODE_ENV="production"
DATABASE_URL="postgres://user:password@host:port/dbname"
NEXTAUTH_SECRET="xxx" # Generated by `openssl rand -base64 32`
NEXTAUTH_URL="https://your-domain.com"
NEXT_PUBLIC_BASE_URL="https://your-domain.com"
# Email server environment variables
EMAIL_FROM="[email protected]"
# Please use encrypted/TLS connection for SMTP server.
EMAIL_SERVER="smtp://username:password@host:port"
# File uplod environment variables
UPLOAD_REGION="us-west-1" # auto when using Cloudflare R2
UPLOAD_ENDPOINT="https://xxx.r2.cloudflarestorage.com"
UPLOAD_ACCESS_KEY_ID="xxx"
UPLOAD_SECRET_ACCESS_KEY="xxx"
UPLOAD_BUCKET_PUBLIC="public-bucket-name"
UPLOAD_BUCKET_PRIVATE="private-bucket-name"
docker run -d \
-e NODE_ENV="replace" \
-e DATABASE_URL="replace" \
-e NEXTAUTH_SECRET="replace" \
-e NEXTAUTH_URL="replace" \
-e NEXT_PUBLIC_BASE_URL="replace" \
-e EMAIL_FROM="replace" \
-e EMAIL_SERVER="replace" \
-e UPLOAD_REGION="replace" \
-e UPLOAD_ENDPOINT="replace" \
-e UPLOAD_ACCESS_KEY_ID="replace" \
-e UPLOAD_SECRET_ACCESS_KEY="replace" \
-e UPLOAD_BUCKET_PUBLIC="replace" \
-e UPLOAD_BUCKET_PRIVATE="replace" \
-p 3000:3000 \
captable/captable
Setup CORS for file uploads:
Some of the services including Cloudflare R2 may require you to setup CORS for file uploads.\
Here is an sample CORS configuration for Cloudflare R2.
[
{
"AllowedOrigins": [
"https://your-domain.com"
],
"AllowedMethods": [
"HEAD",
"GET",
"POST",
"PUT",
"DELETE"
],
"AllowedHeaders": [
"*"
]
}
]
docker exec -it <container_id> npx prisma migrate deploy
Access the application:
Open your browser and navigate to https://your-domain.com
Questions?
If you have any questions, please schedule a call with us, and we will help you set up your own instance.
Content type
Image
Digest
sha256:9a1784b08…
Size
96.2 MB
Last updated
almost 2 years ago
docker pull captable/captable