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:
parent
0f0c7ede46
commit
b9c61804d4
1 changed files with 4 additions and 0 deletions
4
captain-definition
Normal file
4
captain-definition
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"schemaVersion": 2,
|
||||
"dockerfilePath": "./Dockerfile"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue