From 385037fdf07832c50300a77a56e1423ebb9f8b9c Mon Sep 17 00:00:00 2001 From: Arjun Aditya <73933669+nermalcat69@users.noreply.github.com> Date: Sun, 23 Jun 2024 23:11:35 +0530 Subject: [PATCH] chore: update zerops yml --- zerops/README.md | 50 +++++++++++++++++++++++++++------------------ zerops/header.png | Bin 15691 -> 0 bytes zerops/zerops.yml | 51 ++++++++-------------------------------------- 3 files changed, 39 insertions(+), 62 deletions(-) delete mode 100644 zerops/header.png diff --git a/zerops/README.md b/zerops/README.md index 84504856..806b1466 100644 --- a/zerops/README.md +++ b/zerops/README.md @@ -1,28 +1,38 @@ -# Zerops + Remix - Nodejs - [Preview](https://remixrun.zerops.dev/) +# Zerops x Remix - Node.js -![Header Image](header.png) +![remix](https://github.com/zeropsio/recipe-shared-assets/raw/main/covers/svg/cover-remix.svg) -A nodejs Remix example for Zerops which you can deploy in 2 simple steps. +Remix is a framework for fast, dynamic web apps with server-side rendering. [Zerops](https://zerops.io) simplifies deployment, offering automatic scaling, optional caching, logging integrations, and easy setup for additional services, letting you focus on development without infrastructure hassles. -## Instructions to Deploy on Zerops +
-1. Navigate to the Zerops Dashboard and locate the import project button on the sidebar. +## Deploy to Zerops -2. Paste the Project Yaml +You can either click the deploy button to deploy directly on Zerops, or manually copy the [import yaml](https://github.com/zeropsio/recipe-remix-nodejs/blob/main/zerops-project-import.yml) to the import dialog in the Zerops app. -```yaml -project: - name: zerops-remix +[![Deploy on Zerops](https://github.com/zeropsio/recipe-shared-assets/blob/main/deploy-button/green/deploy-button.svg)](https://app.zerops.io/recipe/remix-nodejs) -services: - - hostname: remixnode - type: nodejs@18 - buildFromGit: https://github.com/fxck/zerops-remix-nodejs - ports: - - port: 3000 - httpSupport: true - enableSubdomainAccess: true - minContainers: 1 -``` +
+
-If you still find yourself stuck in the process join our [Discord community](https://discord.gg/5ptAqtpyvh). +## Recipe features +A Node.js version of Remix v2 running on a load balanced **Zerops Node.js** service. + +
+ +## Production vs. development +This recipe is ready for production as is, and will scale horizontally by adding more containers in case of high traffic surges. If you want to achieve the highest baseline reliability and resiliace, start with at least two containers (add `minContainers: 2` in recipe YAML in the `app` service section, or change the minimum containers in "Automatic Scaling configuration" section of service detail). + +Additionally for you might want to consider: +- Using **Zerops Redis** service for caching +- Setting up [Winston](https://github.com/winstonjs/winston) for advanced and structured logging + +
+ +## Changes made over the default installation +If you want to modify your existing Remix app to efficiently run on Zerops, there are no changes needed in the codebase on top of the standard installation, just add [zerops.yml](https://github.com/zeropsio/recipe-remix-nodejs/blob/main/zerops.yml) to your repository. + +
+
+ +Need help setting your project up? Join [Zerops Discord community](https://discord.com/invite/WDvCZ54). \ No newline at end of file diff --git a/zerops/header.png b/zerops/header.png deleted file mode 100644 index 0525bad84e4205ad7066906646e0650fd1f737e3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15691 zcmeHuc{tSj`}b#tGE!+$jgp9CDcRcW%#qS&DHYixMG8~43}&=qh)yJBE0v_kmYqqK zQnn;Tj0V|_b!M2sbAOz3e!t)IJbyobJzv+=H4XE5FZcSoU-vy>=BCE0R%}{rFYl*XAH$2V*TK_Q5JW@_{f9vwCWyl?F;|Wo8zPwvn+M^I;Q2pI z{zQ=MC=vb{cwV>rkkOwf{4t}Qm!ezy61(S>(o0hxT`kZZdxWSzAX{a>O1V?mcR``@ zYrV3Jb^Zg~gP5-o)UX26b@z^zUf)#Oxs87G?!yn)MbdL5F12<3>HH|C?%dXM7EH}Y z51zgwh^-s9OG!V`XTs($jD`s8ZZhj1oTKQUOxyJM(b&1;?|+dq8LYXlwbv>9D_A%k zk~2Lhh`ydZf}pR|2w^JvHd-CC27TQrkDwnT)(8^Ow;vuLIP`U+7=nQpX=ki7`u6P6 z|2+I3f&Irw{^J<`zXpSmUBZa<&q0f{FL&Py3_4OM+QEFQx$f~_yEQc*n2IL7|LsgZ7iT4x~AoAw${t3&}4bxqZ{l1Jzb|_7-yzsnR zVwiC!kK$)a%0)q^CpI8R$}5P*)`yKMI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es!|(o?E9>m5chj zveLrTyywO%=Y!K0yx8u;eA>tKM4%7hyiJA|Ji8**zw#>71HWgiy3k7ZO|Nw|$t;R~ z>TARaWKnW%dliZtZ3s3qzCAxXwEF###7bJ>#sb7(vXhlKThyOSR*5toO*WnxHefVA z%$hwe+cXL|29|cktLN}qb#8mKMk@Md+xTQuEX*r~C5mg#Np z^O@^ZBKY1b&h@MPnEGE5zN{jS`}uOl)b+E0t5|I#Mx_alD!hl|txogwz6KQa-^_Jj z?PvWazmIt&=9)7Ch)xaVg+fj4gPmg2f zw&Mb2v0{F1Xjk?{Mcfv}@~)RhBBg6hYO2Lq3J#02Qa0oxUZoDY4Wa=P>gPT5GPUj! zSe)cchv@q%bCdD@0b2KHc;;i4a(R+x&{W8-WYzK-ZhM#id|EZd*j4gS%0(C7zpa3Z zv&~OqI;||!USX?b+IP}yc}XOP8=W%OAR z2J>$C^*tQ!4~2JGrvevAm?I@XQG)bSBKQBKNn4S(XYO67-tulD;!Vw=qJD?(Hhlel zS~AU{cAprZaSENEr%~!Bd`6cjkKBE8;$tQ4%)s$2rC=KUD+Id}eqCW^xl|xL4fwE(Khw zu!b%2R13%tSoi<>0weDz>Sk17_N;0I|A76_Cpl?&4_}UjR>0Ehf1vLF33Yh}UeY2Z US6j};pb|Q?-_$76(DB;;0vn$Q&Hw-a diff --git a/zerops/zerops.yml b/zerops/zerops.yml index 0b752761..b8d2bd8e 100644 --- a/zerops/zerops.yml +++ b/zerops/zerops.yml @@ -1,51 +1,18 @@ zerops: - # supports monorepositories, just add - # one setup section after the other - - setup: remixnode - # ==== how to build your application ==== + - setup: app build: - # select what technology should the - # build container be based on, can - # be different from service technology - # see docs for full list base: nodejs@20 - - # *optional* add additional dependencies - # on top of base technology (combination - # will be cached for next build) - # prepareCommands: - # - apt-get something - - # build your application buildCommands: - - npm i - - npm run build - - # select which files / folders to deploy - # after the build succesfully finished - deploy: + - pnpm i + - pnpm run build + deployFiles: - build - server.js - package.json - node_modules - - # *optional*: which files / folders - # to cache for the next use - cache: - - node_modules - - package-lock.json - - # ==== how to run your application ==== run: - # *optional* install dependencies that your - # runtime service requires (will be cached) - # prepareCommands: - # - apt-get something - - # *optional*: triggered before each start/restart - # of your application, to eg. clean cache - # initCommands: - # - rm -rf ./cache - - # how to start your application - start: npm start + base: nodejs@20 + ports: + - port: 3000 + httpSupport: true + start: pnpm start \ No newline at end of file