Commit Graph

32 Commits

Author SHA1 Message Date
Alec LaLonde
ab83819a56 Move all NEXT_PUBLIC_ env vars to be configured at build time 2023-06-07 17:44:11 -06:00
Alec LaLonde
3349f851b0 Include Env var values in Dockerfile 2023-06-05 11:41:39 -06:00
dysbulic
1b452abb4d pulling in fix from master 💳 2023-05-17 20:56:58 -04:00
δυς
2921a47ef0 Review: meTokens ₍wᵢₜₕ gᵣₐₙᵤₗₐᵣ 𝄴ₒₘₘᵢₜₛ₎ (#1552)
* linting 🃡

* removing MetaMask specificity 🃢

* moving `StrictMode` to Next.js 🃣

* compressing & commafying 🃤

* upgrading eslint 👘

* removing preface from guild name 🃥

* removing unnecessary ESLint `no-console` directives 🌂

* fixing a typo in a comment 🃦

* updating GraphQL codegen for paid subgraph 🦏

* replacing Discord invite link 📌

* passing through The Graph API token to Docker ♾

* setting Docker ARG to set ENV 📟

* missed a file rename in frontend Docker config 🦀

* adding ts-node to fix Docker build issue ⸙

* trying to narrow down the 500 error's source in the test instance 

* exposing The Graph API token on Cloud Run 🦃

* more logging to try & find server error 🐠

* more logging 🧱

* trying to run Node.js in development mode on Cloud Run 🎁

* reconfiguring frontend Dockerfile to also run the dev environment 🌿

* dev mode seems to function 🧨

* 768MiB wasn't enough memory 🍁

* 1GiB wasn't enough memory 🔱

* 1.5GiB was interpreted as 1GiB 🥃

* 1536MiB wasn't enough memory 👾

* 2GiB wasn't enough memory 🧲

* 3GiB wasn't enough memory 🆎

* 4GiB might have been enough, but it still doesn't load 🧻

* 5GiB requires two CPUs 📝

* giving up on dev server; unexplained HTTP 429s 🎨

* disabling Honeybadger in test instances 📮

* trying an `ErrorBoundary` to gather more info 🕷

* setting GraphQL endpoint 🇲🇰

* exposing environment variables ⛈

* trying to expose `` 📻

* the Next compiled version still references `node_modules` 🦢

* removing Alchemy API key from sources 

* trying a different Docker build action 💉

* removing logging 🍿

* switching to Docker Buildx 👠

* missed an escaped newline 🗿

* trying a newer gcloud setup action 🦝

* hopefully fixing authentication 📴

* bunch of changes to the meTokens profile section 🦜

* need credentials file 🐆

* hunting for layout load error & pushing debug statements to testing 🥁

* updating eslint 💓

* trying to debug the missing Breadchain Coop 🧀

* apparently chose the wrong changeset 🐚

* removing logging 🥀
2023-05-15 09:12:03 -06:00
δυς
b67025fd60 Adding of an Image to Quests & Other Fixes (#1461)
* squashing @thebeyondr's adding an image to quests 🧣

* cleaning, conglomerating, & standardizing 

* properly spreading arguments & restructuring forms 🥴

* setting required pSEED to 0 in testing & switching the IPFS gateway ⛑

* printing `NODE_ENV` to double check testing setting 🔩

* `connecting` needs to be initially false to avoid a hydration error 🛶

* testing if setting `$NODE_ENV` is sufficient for configuration 🦋

* seeing if "development" works as a `NODE_ENV` for Next.js 

* adding graphql retry on empty response 🥁

* consuming `NODE_ENV` in Dockerfile 🥺

* going to `APP_ENV` b/c `NODE_ENV` is unsettable 🎺

* removing printing `NEXT_PUBLIC_APP_ENV` 🦷

* making entire quest tile a link

* aligned rank tag in quest details page

* fix: 🐛 Add a `minWidth` to `PlayerTile`

* feat:  Add more accurate image preview for quests

* feat:  Add image to `QuestDetail`

* refactor: 💬 Update `Raid/Phase III` description

* UI & semantics tweaks from @luxumbra 🧞‍♀️

* centering short quest titles 🇪🇺

* borked the quest title centering 👹

Co-authored-by: Scott Stevenson <scott@1box.onmicrosoft.com>
Co-authored-by: thebeyondr <beyondr42@gmail.com>
2022-12-06 17:02:08 -05:00
Alec LaLonde
0d55ed7f42 Use consistent underlying images for all docker containers (#1470) 2022-12-02 00:21:50 +01:00
δυς
9e37df6207 Update MyMeta to ECMAScript Modules + Switch to DID:PKH (#1429)
* beginning ESM transition: Ceramic libraries, Next.js, & TypeScript configuration 🇭🇰

* updating Chakra, React, & Next image `import`s 👔

* upgrading `@types/react`, import extensions for Node, & b64 SVG to PNG ⛹🏿‍♀️

* fixing relative import names & upddating @types packages 📻

* removoing WYSIWYG editor, draft-js, & updating express ⛹🏿‍♀️

* updating OpenSea 🚲

* ¡@metafam/utils is building! 📰

* ¡Discord bot is building! 👘

* ¡backend is building! 🛩

* fixed everything but Ceramic DID update 🏍

* switching to DID:PKH 📦

* fixing "only one child allowed" error 🙇🏿‍♀️

* importing `React` as required by tsc's `isolatedModules` 🇲🇰

* disabling testing rather than taking the time to fix jest ⚜

* removing set `types` from `tsconfig` to fix compilation error 🥦

* printing tests disabled warning, hopefully 🙀

* setting file to be copied to the new resolver 👁️‍🗨️

* "paths-resolver" not "paths-resolve" 🦴

* switching back to relative paths rather than trying to fix `paths` 

* `yarn backend:dev` not working, testing GitHub build 🎺

* removing design system build & fixing some images ✊🏿

* fixed "expected function got string" error & trying to address undefined HTMLElement 🐡

* fixing @emotion/react tree shaking by making external 🏏

* including eslint config in Dockerfile 🌾

* fixing more images 🎯

* updating DIDs & switching back to an updated DID:3 ❇

* switching to w3s.link gateway & fixing early termination of storage endpoint 🔭

* switching back to ipfs.io gateway b/c w3s.link serves SVGs as application/xml which are CORB blocked 🥾

* fixing node config name in eslint ignore & shortening some paths 🧰

* fixing ts-node not handling project references 🥁
2022-11-14 11:26:41 -05:00
luxumbra
a53e450f81 addressing feedback from @alalonde
- Moved `Honeybadger.notify()` to `errorHandler.ts` and replaced instances.
- Removed module definitions from `env.d.ts`
2022-10-21 13:21:38 -06:00
Alec LaLonde
80d46b410d Added GA ID, fixed FRONTEND_URL 2022-07-06 10:05:15 -06:00
Alec LaLonde
063c680d10 Added a couple more env variables to build 2022-07-04 20:03:03 -06:00
Alec LaLonde
cf1e099d56 More config to get relative imports working in backend 2022-05-18 09:06:43 -06:00
Alec LaLonde
0e0db39ba9 Fixed discord-bot Dockerfile 2022-03-24 12:57:12 -06:00
Alec LaLonde
388fde2ee1 Moved node from slim- to normal container 2022-03-22 10:33:22 -06:00
Alec LaLonde
b88693e0a1 Added another dep 2022-03-22 10:33:22 -06:00
Alec LaLonde
0fc84ebb99 Fixed docker build puking on git+https dependencies 2022-03-22 10:33:22 -06:00
δυς
f5295c3242 Reading and Writing Profile Info From Ceramic (#943)
This is being merged for further testing so as to not block the progress of `develop` & not require more rebases.
2022-01-25 16:51:53 -05:00
polimyl
4f1e47562c fix: move discord-bot RUNTIME_ENV to the last stage 2021-12-26 21:14:28 -07:00
polimyl
d61e39b6d8 Docker image size optimization (#910)
* build(docker): use slim base images

* build(docker): create new stages that only include necessary files

* build(docker): delete devDependencies after build

* build(docker): move env vars to a later point for better caching
2021-11-13 12:29:22 -05:00
δυς
0362f8ca47 switching to multer (& writing to a file) from streaming 🎮 2021-10-29 21:16:28 -06:00
polimyl
34fdf7f4c4 make env vars in hasura and backend containers more customizable 2021-10-06 20:44:20 -06:00
polimyl
a2685112d5 add Dockerfile for frontend 2021-10-06 20:44:20 -06:00
Alec LaLonde
f653d0879e Added an env var to specify which types of files are loaded 2021-05-18 11:31:43 -06:00
Alec LaLonde
fbb70e54a8 Added Dockerfile for discord-bot 2021-05-06 13:07:32 -06:00
Alec LaLonde
24765d030a Added createDiscordClient to discord-bot, changed backend to use it 2021-03-09 10:54:23 -07:00
Will Holcomb
e59618d319 codegen was removed, but some references linger 2021-02-01 20:52:28 -07:00
Hammad Jutt
4c2bb981cf Update backend Dockerfile to include codegen 2020-08-16 20:23:05 -06:00
Hammad Jutt
c82ba547b6 Fix command for backend Dockerfile 2020-08-05 00:18:57 -06:00
Hammad Jutt
26c9bfa134 Cleanup / simplify package.json scripts and names 2020-07-13 11:06:24 -06:00
Hammad Jutt
5de1a5eba5 Simplify Render config 2020-07-12 11:41:52 -06:00
Hammad Jutt
c063c3c41a Setup explicit ports to prevent broken deployment on Render
https://github.com/hasura/graphql-engine/issues/3904
2020-07-12 11:41:52 -06:00
Hammad Jutt
5cfd7d88dd Setup multistage build to allow running backend server in dev mode so we dont have to run it outside Docker
This will automatically restart the backend server in docker anytime there are changes to the original
source files instead of copying over when running in dev mode. In production, it will still do the
normal copy/build.
2020-07-06 01:55:44 -06:00
Pacien Boisson
899335594a [WIP] Fix docker with lerna (#8)
* trying to fix Backend docker image with lerna

* fix dockerfile CMD

* Fix Dockerfile build

* Fix 3box types

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2020-06-08 00:49:39 -06:00