Skip to content

Fix the gap in the installation guides. #444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Martech-WorkShop opened this issue Jan 8, 2025 · 11 comments
Open

Fix the gap in the installation guides. #444

Martech-WorkShop opened this issue Jan 8, 2025 · 11 comments
Assignees
Labels
issue: documentation Issue related to an improvement or addition to documentation issue: enhancement Issue suggesting an enhancement to an existing feature

Comments

@Martech-WorkShop
Copy link

Martech-WorkShop commented Jan 8, 2025

Describe the ISSUE
When using the official guide on how to install Lago, the guide seems to target a test environment based on "localhost".
That is perfect for playing but not for serious testing, much less for production.
Since there are no more options, you are forced to jump into Kubernetes if you want something more serious.

But, unless you are an accounting firm, you have no use for a K8S deployment, but at the same time, you can't run it on "localhost". You need a proper VPS setup on the cloud, or like in my case, you need to run it on a larger server, behind a proxy.

I have requested the pricing for the premium hosted version and while I am certain the price is fair for a larger organization, for many SMB's its a tad steep.

I am certain Lago FOSS is very enticing to many SMBs who also might not have the technical capabilities to deploy on their own without guidance or help.
Hence, I suggest expanding the number of guides by adding a VPS guide, a Reverse proxy guide, maybe even a non-compose guide, which could make the architecture much more obvious to a whole lot more people.

In all these cases I would be happy to work on the guides myself if you consider these could in fact be relevant to the project.

NOTE: A development installation guide is also provided and the corresponding compose file found in the repo, which is great but does not solve the issue for staging and production since it is also focused on local development for "app.lago.dev"

Steps to reproduce the behavior:

  1. Go to the getting started, docker installation guide,
  2. Follow the steps from any computer other than localhost.
  3. Resulting deployment will not work.

Expected behavior
Clear and concise guides (or even and automated script (or two)) facilitating installation for the most common use cases, whatever those are.

Support

  • OS: Linux
  • Version: Latest stable
@jdenquin
Copy link
Contributor

jdenquin commented Jan 8, 2025

Hello @Martech-WorkShop

I totally understand your point and you're right.
We started to work on a Pulumi recipes for AWS some months ago to provide an other deployment option. It's not totally done and still WIP.

We'll work on some other options this year :

  • One click deployment
  • Better documentation to support those cases

@Martech-WorkShop
Copy link
Author

Thanks for responding @jdenquin

Sounds good, let me know if I can be of any help...
Feel free to close if there's nothing else to discuss.

@tecoad
Copy link

tecoad commented Jan 15, 2025

Hello @Martech-WorkShop

I totally understand your point and you're right. We started to work on a Pulumi recipes for AWS some months ago to provide an other deployment option. It's not totally done and still WIP.

We'll work on some other options this year :

  • One click deployment
  • Better documentation to support those cases

I totally agree @jdenquin .
Right now Lago will not be able to grow fast since the recipe for installation is broken, as reported #447
One click deployment nowadays would be nice so anyone who have no idea if fits its needs can do it hassle free.

@jdenquin jdenquin self-assigned this Jan 21, 2025
@jdenquin jdenquin added issue: enhancement Issue suggesting an enhancement to an existing feature issue: documentation Issue related to an improvement or addition to documentation labels Jan 21, 2025
@Martech-WorkShop
Copy link
Author

Since I did not get a clear path forward from this issue, I'm going to give it a go on my own. If anyone wants to join, drop me a line here...

@jdenquin
Copy link
Contributor

@Martech-WorkShop we released a new docker image that embed everything you need, it ease the deployment : https://getlago.com/docs/guide/self-hosted/docker#run-the-app-with-a-one-click-docker-command

More configurations to come for it!

@Martech-WorkShop
Copy link
Author

Oh, nice! Do you need any help with that?

@wottpal
Copy link

wottpal commented Mar 4, 2025

A one-click recipe for Coolify (already requested here) could be a great step forward.

@jdenquin
Copy link
Contributor

jdenquin commented Mar 5, 2025

@wottpal we'll take a look a it!

@feliche93
Copy link

Coolify support would be super cool 🙏

@jigarpatel1007
Copy link

Thanks all — I’d like to propose a structured solution to help bridge the gap between “localhost” and production setups, especially for SMB users running Lago behind a proxy or on a VPS.


✅ Proposed Additions to the Installation Guide

1. Standalone VPS Deployment Guide

  • Covers secure deployment on cloud VMs (e.g., Ubuntu 22.04 on DigitalOcean, Hetzner, AWS EC2)
  • Includes setting up Docker and Docker Compose from scratch
  • Adds secure user setup, ufw firewall, domain pointing, and HTTPS via Let's Encrypt

2. Reverse Proxy Integration (NGINX or Caddy)

  • How to place Lago behind NGINX (for subdomain routing or SSL termination)
  • Tips on production-ready headers, health checks, and timeout configs
  • Optional: Integration with tools like Caddy for dynamic HTTPS

3. Non-Compose (Manual Docker Run) Setup

  • Useful for debugging or integrating into custom init scripts
  • Makes Docker deployment architecture more transparent

🧱 Optional: One-Click VPS Installer (Shell Script)

We could include a lago-vps-setup.sh script that:

  • Installs Docker & Docker Compose
  • Clones Lago with config presets
  • Configures firewall, HTTPS (via Certbot)
  • Outputs public access URL

📄 Why This Matters

Many teams evaluating Lago for production billing won’t use Kubernetes, and while the Docker “localhost” recipe is great for developers, it doesn’t address operational realities like:

  • Running behind a reverse proxy
  • Hosting on public cloud infrastructure
  • Managing persistent data volumes securely

This documentation gap may create friction at the “production adoption” step, especially for smaller teams.

@jdenquin
Copy link
Contributor

Thanks @jigarpatel1007
This is already something we started to work on : https://github.com/getlago/lago/tree/main/deploy
It's not yet documented since it's still under development and test but you can try it out.
Basically the deploy.sh file can run with just one curl command (requires Bash) and it will help you with the usage of a docker file (many configurations available)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: documentation Issue related to an improvement or addition to documentation issue: enhancement Issue suggesting an enhancement to an existing feature
Projects
None yet
Development

No branches or pull requests

6 participants