Replies: 2 comments
-
update: after waiting for the instance to wind down (after half an hour or something) the system spins up again, but it is pretty slow - taking something like 30 seconds to load, where it will spit out an error about not knowing what jwt is - once you refresh again and wait another 10 seconds it fixes itself |
Beta Was this translation helpful? Give feedback.
-
this is best ever tutor or guide i've ever seen this year, it's good for testing purposes and ya after decide to upgrade, good advice. |
Beta Was this translation helpful? Give feedback.
-
Hello all
I managed to get a wiki.js instance up and running on render.com using the free tier web app and postgresql database without much hassle. Given the recent stop of heroku free instances, I figured i'd share, as this is a perfect drop-in replacement for the heroku free wikijs instance thing.
It's pretty hacky (using the heroku docker image) but it seems to work fine once it is up and running.
how-to:
Requirements:
Steps
Create a postgresql instance for Wiki.JS
From the dashboard go to New > PostgreSQL
Pick a name, database name, and username with the text boxes (the specifics do not matter)
Click create database
Should take a couple of minutes to spin up the instance, once it is live scroll down to and copy "Internal Database URL" (will be used later)
Create Wiki.JS instance
Now go back to the dashboard and create a new "Web Service", giving it the name that you want the outward-facing url to represent (i.e. the name "fluffyunicorn" will have the provided domain "fluffyunicorn.onrender.com"
Put
https://github.com/requarks/wiki-heroku
as the repository to run, make sure the instance type is set to "Docker"Scroll down to advanced, and create a new environment variable titled
DATABASE_URL
with the content being the link you copied earlierPress create, instance will spin up
Eventually the logs will ask you to "set up". Visit
<your project name>.onrender.com
to complete the setup as per usual. Make sure to set the hostname to your url. Once you complete close the tab and whatever proxy render is using will switch the forwarded port to the main wiki.js instance, and you now have a free instance!Notes
Beta Was this translation helpful? Give feedback.
All reactions