diff --git a/README.md b/README.md index d9f8a638..45e91a84 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,7 @@ Dashy supports **1-Click deployments** on several popular cloud platforms. To sp - [ Deploy to Heroku](https://heroku.com/deploy?template=https://github.com/Lissy93/dashy) - [ Deploy to Vercel](https://vercel.com/new/project?template=https://github.com/lissy93/dashy) - [ Deploy to Render](https://render.com/deploy?repo=https://github.com/lissy93/dashy/tree/deploy_render) +- [ Deploy to Railway](https://railway.app/template/MtdjAQ?referralCode=app) - [ Deploy to GCP](https://deploy.cloud.run/?git_repo=https://github.com/lissy93/dashy.git) - [ Deploy to PWD](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/Lissy93/dashy/master/docker-compose.yml) - [ Deploy to Easypanel](https://easypanel.io/docs/templates/dashy) diff --git a/docs/deployment.md b/docs/deployment.md index 68a0337b..c3ea7fb1 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -33,6 +33,7 @@ Once you've got Dashy up and running, you'll want to configure it with your own - [Google Cloud Platform](#google-cloud-platform) - [Platform.sh](#platformsh) - [Render](#render) + - [Railway](#railway) - [Scalingo](#scalingo) - [Play-with-Docker](#play-with-docker) - [Surge.sh](#surgesh) @@ -278,6 +279,16 @@ To deploy Dashy to Render, use the following link https://render.com/deploy?repo=https://github.com/lissy93/dashy/tree/deploy_render ``` +### Railway + +[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/MtdjAQ?referralCode=app) + +[Railway](https://railway.app/) is a Platform as a Service (PaaS) that offers a complete platform for building and delivering programs to the backend of the cloud. You bring your code and Railway does the rest. Railway offers an extremely good developer experience and makes it effortless to deploy apps. Railway offers a free Trial Plan, and paid plans start at $5/month. Railway has 4 server locations: US-west, US-east, EU-west and ASIA-South-East. + +```text +https://railway.app/template/MtdjAQ +``` + ### Scalingo [![Deploy on Scalingo](https://i.ibb.co/nj0KxyH/deploy-scalingo-button.png)](https://my.scalingo.com/deploy?source=https://github.com/lissy93/dashy#master) diff --git a/docs/widgets.md b/docs/widgets.md index 69bd8f7c..84d5eea2 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -2130,6 +2130,11 @@ This will show the list of VMs, with a title and a linked fotter, hiding VM temp footer_as_link: true hide_templates: 1 ``` +#### Troubleshooting +- **404 Error in development mode**: The error might disappear in production mode `yarn start` +- **500 Error in production mode**: Try adding the certificate authority (CA) certificate of your Proxmox host to Node.js. + - Download the Proxmox CA certificate to your Dashy host. + - Export environment variable `NODE_EXTRA_CA_CERTS` and set its value to the path of the downloaded CA certificate. Example: `export NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/devlab_ca.pem` #### Info - **CORS**: 🟠 Proxied diff --git a/src/components/Widgets/Jokes.vue b/src/components/Widgets/Jokes.vue index b6d50802..c68aca81 100644 --- a/src/components/Widgets/Jokes.vue +++ b/src/components/Widgets/Jokes.vue @@ -74,6 +74,7 @@ export default { this.jokeLine2 = data.delivery; } else if (this.jokeType === 'single') { this.jokeLine1 = data.joke; + this.jokeLine2 = null; } }, }, diff --git a/src/components/Widgets/Proxmox.vue b/src/components/Widgets/Proxmox.vue index 78da0e18..5ae09fcc 100644 --- a/src/components/Widgets/Proxmox.vue +++ b/src/components/Widgets/Proxmox.vue @@ -94,7 +94,7 @@ export default { } }, processData(data) { - this.data = data.data.sort((a, b) => a.vmid > b.vmid); + this.data = data.data.sort((a, b) => Number(a.vmid) > Number(b.vmid)); if (this.hideTemplates) { this.data = this.data.filter(item => item.template !== 1); }