mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-24 21:58:04 -05:00
* Bump next from 10.2.0 to 10.2.2 (#574) Bumps [next](https://github.com/vercel/next.js) from 10.2.0 to 10.2.2. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v10.2.0...v10.2.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @chakra-ui/react from 1.6.1 to 1.6.2 (#580) Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui) from 1.6.1 to 1.6.2. - [Release notes](https://github.com/chakra-ui/chakra-ui/releases) - [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/CHANGELOG.md) - [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/react@1.6.1...@chakra-ui/react@1.6.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @types/node from 15.3.0 to 15.3.1 (#577) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.3.0 to 15.3.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update migrateSourceCredAccounts scripts to use Eth address as source of truth * Add githubApiToken to backend config * Bump ethers from 5.1.4 to 5.2.0 (#589) Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.1.4 to 5.2.0. - [Release notes](https://github.com/ethers-io/ethers.js/releases) - [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/ethers-io/ethers.js/commits/v5.2.0/packages/ethers) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @typeit/discord from 4.0.9 to 4.0.10 (#585) Bumps [@typeit/discord](https://github.com/OwenCalvin/discord.ts) from 4.0.9 to 4.0.10. - [Release notes](https://github.com/OwenCalvin/discord.ts/releases) - [Changelog](https://github.com/OwenCalvin/discord.ts/blob/master/CHANGELOG.md) - [Commits](https://github.com/OwenCalvin/discord.ts/commits) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump js-base64 from 3.6.0 to 3.6.1 (#590) Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.6.0 to 3.6.1. - [Release notes](https://github.com/dankogai/js-base64/releases) - [Commits](https://github.com/dankogai/js-base64/compare/3.6.0...3.6.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @types/node from 15.3.1 to 15.6.1 (#594) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.3.1 to 15.6.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump next-transpile-modules from 7.0.0 to 7.2.0 (#584) Bumps [next-transpile-modules](https://github.com/martpie/next-transpile-modules) from 7.0.0 to 7.2.0. - [Release notes](https://github.com/martpie/next-transpile-modules/releases) - [Commits](https://github.com/martpie/next-transpile-modules/compare/7.0.0...7.2.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @types/react from 17.0.5 to 17.0.6 (#576) Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.5 to 17.0.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Use staging backend host for staging Hasura instance * github actions for develop branch * Add github secret to staging-backend env * Fix token config in render.yaml Matches whats configured in Render dashboard * Bump next from 10.2.2 to 10.2.3 (#612) Bumps [next](https://github.com/vercel/next.js) from 10.2.2 to 10.2.3. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v10.2.2...v10.2.3) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump typescript from 4.2.4 to 4.3.2 (#611) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ethers from 5.2.0 to 5.3.0 (#616) Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.2.0 to 5.3.0. - [Release notes](https://github.com/ethers-io/ethers.js/releases) - [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/ethers-io/ethers.js/commits/v5.3.0/packages/ethers) --- updated-dependencies: - dependency-name: ethers dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @chakra-ui/react from 1.6.2 to 1.6.3 (#621) Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui) from 1.6.2 to 1.6.3. - [Release notes](https://github.com/chakra-ui/chakra-ui/releases) - [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/CHANGELOG.md) - [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/react@1.6.2...@chakra-ui/react@1.6.3) --- updated-dependencies: - dependency-name: "@chakra-ui/react" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump sourcecred from 0.8.7 to 0.9.0 (#623) Bumps [sourcecred](https://github.com/sourcecred/sourcecred) from 0.8.7 to 0.9.0. - [Release notes](https://github.com/sourcecred/sourcecred/releases) - [Commits](https://github.com/sourcecred/sourcecred/compare/sourcecred-v0.8.7...sourcecred-v0.9.0) --- updated-dependencies: - dependency-name: sourcecred dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dan13ram <dan13ram@gmail.com>
154 lines
3.6 KiB
YAML
154 lines
3.6 KiB
YAML
###
|
|
# Two pairs of each service are defined here, for production and staging.
|
|
###
|
|
|
|
services:
|
|
# Backend prod
|
|
- type: pserv
|
|
name: backend
|
|
env: docker
|
|
numInstances: 1
|
|
dockerfilePath: ./docker/backend/Dockerfile
|
|
dockerContext: .
|
|
envVars:
|
|
- fromGroup: hasura-secrets
|
|
- fromGroup: discord-secrets
|
|
- fromGroup: github-secrets
|
|
- fromGroup: backend-secrets
|
|
- key: GRAPHQL_HOST
|
|
fromService:
|
|
name: hasura
|
|
type: web
|
|
property: host
|
|
|
|
# Backend staging
|
|
- type: pserv
|
|
name: staging-backend
|
|
env: docker
|
|
branch: develop
|
|
numInstances: 1
|
|
dockerfilePath: ./docker/backend/Dockerfile
|
|
dockerContext: .
|
|
envVars:
|
|
- fromGroup: hasura-staging-secrets
|
|
- fromGroup: discord-secrets
|
|
- fromGroup: github-secrets
|
|
- fromGroup: backend-secrets
|
|
- key: GRAPHQL_HOST
|
|
fromService:
|
|
name: staging-hasura
|
|
type: web
|
|
property: host
|
|
|
|
# Hasura prod
|
|
- type: web
|
|
name: hasura
|
|
env: docker
|
|
healthCheckPath: /healthz
|
|
numInstances: 1
|
|
dockerfilePath: ./hasura/Dockerfile
|
|
dockerContext: ./hasura
|
|
envVars:
|
|
- fromGroup: hasura-secrets
|
|
- key: HASURA_GRAPHQL_DATABASE_URL
|
|
fromDatabase:
|
|
name: metagame-db
|
|
property: connectionString
|
|
- key: BACKEND_HOST
|
|
fromService:
|
|
name: backend
|
|
type: pserv
|
|
property: hostport
|
|
- key: HASURA_GRAPHQL_SERVER_PORT
|
|
value: 10000
|
|
- key: HASURA_GRAPHQL_ENABLE_CONSOLE
|
|
value: true
|
|
- key: PORT
|
|
value: 10000
|
|
|
|
# Hasura staging
|
|
- type: web
|
|
name: staging-hasura
|
|
env: docker
|
|
branch: develop
|
|
healthCheckPath: /healthz
|
|
numInstances: 1
|
|
dockerfilePath: ./hasura/Dockerfile
|
|
dockerContext: ./hasura
|
|
envVars:
|
|
- fromGroup: hasura-staging-secrets
|
|
- key: HASURA_GRAPHQL_DATABASE_URL
|
|
fromDatabase:
|
|
name: staging-metagame-db
|
|
property: connectionString
|
|
- key: BACKEND_HOST
|
|
fromService:
|
|
name: staging-backend
|
|
type: pserv
|
|
property: hostport
|
|
- key: HASURA_GRAPHQL_SERVER_PORT
|
|
value: 10000
|
|
- key: HASURA_GRAPHQL_ENABLE_CONSOLE
|
|
value: true
|
|
- key: PORT
|
|
value: 10000
|
|
|
|
# discord-bot
|
|
- type: web
|
|
name: discord-bot
|
|
env: docker
|
|
healthCheckPath: /healthz
|
|
numInstances: 1
|
|
dockerfilePath: ./docker/discord-bot/Dockerfile
|
|
dockerContext: .
|
|
envVars:
|
|
- fromGroup: hasura-secrets
|
|
- fromGroup: sourcecred
|
|
- key: PORT
|
|
value: 5000
|
|
- key: FRONTEND_URL
|
|
value: https://my.metagame.wtf
|
|
- key: GRAPHQL_HOST
|
|
fromService:
|
|
name: hasura
|
|
type: web
|
|
property: host
|
|
|
|
# Note, no staging discord-bot
|
|
|
|
databases:
|
|
- name: metagame-db
|
|
plan: starter
|
|
- name: staging-metagame-db
|
|
plan: starter
|
|
|
|
envVarGroups:
|
|
- name: hasura-secrets
|
|
envVars:
|
|
- key: HASURA_GRAPHQL_ADMIN_SECRET
|
|
generateValue: true
|
|
- name: hasura-staging-secrets
|
|
envVars:
|
|
- key: HASURA_GRAPHQL_ADMIN_SECRET
|
|
generateValue: true
|
|
- name: github-secrets
|
|
envVars:
|
|
- key: GITHUB_API_TOKEN
|
|
sync: false
|
|
- name: sourcecred
|
|
envVars:
|
|
- key: DISCORD_BOT_TOKEN
|
|
sync: false
|
|
- key: GITHUB_API_TOKEN
|
|
sync: false
|
|
- name: discord-secrets
|
|
envVars:
|
|
- key: DISCORD_BOT_TOKEN
|
|
sync: false
|
|
- key: DISCORD_BOT_CLIENT_SECRET
|
|
sync: false
|
|
- name: backend-secrets
|
|
envVars:
|
|
- key: IMGIX_TOKEN
|
|
sync: false
|