N
Novu2mo ago
PaulY

Self Hosted on coolify - Fine upto sign up

Hi all - I have been trying to self host on coolify via docker compose Searching through both Novu and Coolify discords ive seen glimpses of getting this working - but no clear guide. Ive found someone getting as far as a screenshot of the signup page - but i just get a network error ERR_SSL_PROTOCOL_ERROR - and thats with playing around with the .env which im not sure is helpfull.
Ive written a guide in the next post to show the steps to getting that far Character limit - Steps in next post
No description
No description
No description
No description
No description
No description
No description
No description
2 Replies
PaulY
PaulY2mo ago
Bellow is My steps taken to get it to sign up - hopefully once problems are resolved we can turn it into a step by step guide for sign up. Does the following work for anyone, and can you provide a working .env example with the changes made. 1) Go to Coolify Dashboard > Projects > Click or Create Project 2) Click +Add Resource 3) Under Docker Based select "Docker Compose" 4) A text editor will show for you to enter the compose file - Copy and Paste the contents of https://github.com/novuhq/novu/blob/next/docker/community/docker-compose.yml 5) Click Save to to be taken to its configuration page. Optionaly set a service name e.g. Novu and saving . Then click Environment Variables tab from the menu 6) Now before deploying we want to get set the enviroment varibles from https://github.com/novuhq/novu/blob/next/docker/community/.env.example 7) To make things easy - click "Developer View" and paste in the contents from the .env.example in step 6. 8) Were going to need to change some variables - First Locate 9) First Locate JWT_SECRET= and add your JWT Secret - to generate a JWT secret open up your terminal and run: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" 10) locate STORE_ENCRYPTION_KEY= and set your encryption key - it must be 32 characters long - to generate open up terminal and run: node -e "console.log(require('crypto').randomBytes(16).toString('hex'))" 11) find and Update HOST_NAME=http://localhost with your host name - for me im changing it to HOST_NAME=https://novu.domain.work 12) im also updating NODE_ENV=local to NODE_ENV=production 13) Click "save all environment variables" and await success message 14) under services find web (Web (ghcr.io/novuhq/novu/web:0.24.0)) - click settings - enter the domain you would like the web admin to be on. 14) in top right click deploy button and wait to until complete 15) The services now all show green and running 16) go to the url you gave in step 14 and register. does anybody know what additional steps are needed to get signup working?
Novu_Bot
Novu_Bot2mo ago
@PaulY, you just advanced to level 1!
Want results from more Discord servers?
Add your server