From aa951f460dd8fe0cee4032cb57a085ca2659774d Mon Sep 17 00:00:00 2001 From: Gabe Mendoza Date: Wed, 30 Oct 2024 10:09:26 -0500 Subject: [PATCH] render.yaml (#535) * render.yaml * add render.yaml --- battle-stadium.code-workspace | 5 +++++ render.yaml | 41 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 render.yaml diff --git a/battle-stadium.code-workspace b/battle-stadium.code-workspace index 30c66625f..246018a11 100644 --- a/battle-stadium.code-workspace +++ b/battle-stadium.code-workspace @@ -44,6 +44,7 @@ "Charizard", "Charizardite", "cobertura", + "Creds", "ecma", "Eevee", "Eviolite", @@ -54,10 +55,14 @@ "markiscodecoverage", "Meowth", "metagame", + "noeviction", + "ohio", "OIDC", "pokedex", "postgresql", + "redis", "rosie", + "sidekiq", "Squirtle", "turbopack", "tweetnacl", diff --git a/render.yaml b/render.yaml new file mode 100644 index 000000000..85c875167 --- /dev/null +++ b/render.yaml @@ -0,0 +1,41 @@ +# Exported from Render on 2024-10-30T14:59:19Z +services: +- type: web + name: battle-stadium + runtime: docker + repo: https://github.com/thatguyinabeanie/battle-stadium + plan: standard + envVars: + - fromGroup: PRODUCTION_ENV_VARS + region: ohio + healthCheckPath: /up + dockerContext: . + dockerfilePath: Dockerfile.prod + registryCredential: + fromRegistryCreds: + name: dockerhub + domains: + - api.battlestadium.gg + rootDir: backend +- type: worker + name: battle-stadium-sidekiq + runtime: docker + repo: https://github.com/thatguyinabeanie/battle-stadium + plan: starter + envVars: + - fromGroup: PRODUCTION_ENV_VARS + region: ohio + dockerCommand: bundle exec sidekiq + dockerContext: . + dockerfilePath: Dockerfile.prod + registryCredential: + fromRegistryCreds: + name: dockerhub + rootDir: backend +- type: redis + name: battle-stadium-sidekiq-redis + plan: free + region: ohio + maxmemoryPolicy: noeviction + ipAllowList: [] +version: "1"