Add captain-definition for easy deployment on Caprover (#954)

With this single file, it becomes very easy to deploy this service on a caprover instance
All that needs to be done to do so on the caprover dashboard is:
- Create a new app with persistance
- Set these envs:
PORT=20128
HOSTNAME=0.0.0.0
NEXT_PUBLIC_BASE_URL=https://your-domain-here.com
DATA_DIR=/app/data
- Add a persistent directory with /app/data
- Set CONTAINER HTTP PORT to 20128, enable HTTPS and websockets
- Go in deployment -> Method 3 -> Set the git url to this repo on branch main and add your github email and a PAT
- Save and force build
This commit is contained in:
R3D347HR4Y 2026-05-09 05:07:47 +02:00 committed by GitHub
parent 0f0c7ede46
commit b9c61804d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
captain-definition Normal file
View file

@ -0,0 +1,4 @@
{
"schemaVersion": 2,
"dockerfilePath": "./Dockerfile"
}