feat: add Docker and Railway deployment config
This commit is contained in:
13
railway.json
Normal file
13
railway.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "https://railway.app/railway.schema.json",
|
||||
"build": {
|
||||
"builder": "dockerfile"
|
||||
},
|
||||
"deploy": {
|
||||
"numReplicas": 1,
|
||||
"startCommand": "python -m uvicorn app.main:app --host 0.0.0.0 --port $PORT"
|
||||
},
|
||||
"plugins": [
|
||||
"postgresql"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user