diff --git a/.gitignore b/.gitignore index c2111fc..e74699d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .env -.vscode \ No newline at end of file +.vscode +/main \ No newline at end of file diff --git a/railway.json b/railway.json new file mode 100644 index 0000000..57542b2 --- /dev/null +++ b/railway.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://railway.app/railway.schema.json", + "build": { + "buildCommand": "go build -o out ./cmd/main" + }, + "deploy": { + "restartPolicyMaxRetries": 3 + } +} \ No newline at end of file