Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure railway via code #61

Closed
fabiante opened this issue Sep 19, 2023 · 0 comments · Fixed by #65
Closed

Configure railway via code #61

fabiante opened this issue Sep 19, 2023 · 0 comments · Fixed by #65
Labels
enhancement Nice to have but not essential

Comments

@fabiante
Copy link
Owner

I have set up a small demo deployment (#40) which could be configured via code: https://docs.railway.app/deploy/config-as-code

This would allow the application to be simpler to re-deploy.

This is the current configuration:

{
  "$schema": "https://railway.app/railway.schema.json",
  "build": {
    "builder": "DOCKERFILE",
    "nixpacksPlan": {
      "repo": "fabiante/persurl"
    },
    "dockerfilePath": "Dockerfile"
  },
  "deploy": {
    "numReplicas": 1,
    "healthcheckPath": "/s/health",
    "restartPolicyType": "ON_FAILURE",
    "restartPolicyMaxRetries": 10
  }
}
@fabiante fabiante added the enhancement Nice to have but not essential label Sep 19, 2023
@fabiante fabiante added this to the v0.4 - Usability milestone Sep 19, 2023
@fabiante fabiante linked a pull request Sep 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Nice to have but not essential
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant