Self-hosting
Lunary is designed to be simple to self-host using Docker images for the backend and frontend components.
Steps
1
2
3
4
5
Troubleshooting
Requested access to the resource is denied.
You need to log in to the private Docker repository before running the image. Make sure you have the correct access token and that you are logged in.
Error: connect ECONNREFUSED 127.0.0.1:5432
If you are running the database on the same machine, you can use -network=host
when running the Docker images.
Error: Client network socket disconnected before secure TLS connection was established
This means the database's SSL certificate is not properly set. Either fix the SSL certificate or disable SSL by removing ?sslmode=require
from the DATABASE_URL
environment variable (not recommended if the database is exposed to the internet).