N
Novu5mo ago
Tanton

Self-hosted guide

Hello! Is the guide at https://docs.novu.co/community/self-hosting-novu/deploy-with-docker still accurate for Novu 2.2.0?
Deploy with Docker | Novu Documentation
Learn how to deploy Novu with Docker
10 Replies
Pawan Jain
Pawan Jain5mo ago
Yes, Please read this doc also https://docs.novu.co/community/self-hosting-novu/v0-to-v2-migration if you are self hosting earlier version 0.24.7
Tanton
TantonOP5mo ago
I don't have previous versions - and I still have this error: npx novu@latest init --secret-key=b46522336026df7c466b16d028acb0e8 --api-url=http://localhost:3000 √ What is your project named? ... my-novu-app Failed to verify your secret key against http://localhost:3000. For EU instances use --api-url https://eu.api.novu.co or provide the correct secret key I have set NOVU_SECRET_KEY & STORE_ENCRYPTION_KEY in ./docker/community/.env file
Novu_Bot
Novu_Bot5mo ago
@Tanton, you just advanced to level 1!
Tanton
TantonOP5mo ago
What local url I should use for Novu API: http://localhost:3000/v1 or http://localhost:3000/v2?
Pawan Jain
Pawan Jain5mo ago
v1
Tanton
TantonOP5mo ago
Thanks, Pawan! I noticed that the NOVU_SECRET_KEY shown in the Dashboard is different from the one I have set in the .env file. Do I need to set it in .env at all?
Tanton
TantonOP5mo ago
According to https://docs.novu.co/community/self-hosting-novu/deploy-with-docker I have to set up the Bridge application. Is it still accurate for Novu 2.x?
Deploy with Docker | Novu Documentation
Learn how to deploy Novu with Docker
Tanton
TantonOP5mo ago
And do I need to run at all: npx novu@latest dev -d http://localhost:4000 -p <bridge_application_port>
Pawan Jain
Pawan Jain5mo ago
For 2.2.0, you don't need to run bridge application as workflows can be created from UI now

Did you find this page helpful?