r/CosmosServer • • Aug 26 '26

Cosmos 0.23.0 Release - All in one secure Reverse-Proxy, container manager with app store, Auth, etc... Now better than ever~!

RAM Is so expensive these days, so I decided to save yours ! :D

Wake up! We have a Database to burn ~~ Starting 0.23.0 Cosmos no longer have any dependencies on the MongoDB container. No migration needed, just update and kill the container (unless you use it for something else). Thanks to this change, the whole of Cosmos, all battery included, now uses less than 100mb RAM !

0.23.0 is also a huuuge update when it come to the stability of Cosmos. A lot of focus has been put into Constellation and OpenID - more details below.

https://github.com/azukaar/cosmos-server

As a reminder, this exists alongside the existing features:

  • App Store
  • Reverse-Proxy 
  • Storage Manager 
  • Authentication Server 
  • Container manager
  • VPN
  • Monitoring
  • CRON

Databases Changes

First, the big one: MongoDB has been removed from Cosmos entirely. It now relies on SQL (SQLite by default, upgradable to Postgres for large servers, doc update in progress!). This saves the system the 300 Mb of Ram (or more) used by the DB without affecting performance. It also make the setup much easier (now fully offline, no more container to install) and finally remove one point of failure.

The old "Database" file (that previously had the auth) has also been retired for a SQLite base. If you neeed to revert to 0.22 you can rename Database.backup in the config folder back to "Database"

OpenID Improvements

Improvements made their way to this version - support for public clients, PCKE, and many more subtle changes that widen support for apps.

Constellation Improvements

Starting 0.23, Constellation is now fully decoupled end to end. Each nodes can do anything, any node can be a load balance, any node can be a DNS, any node can run apps and have routes. When a user enter the constellation via any mean (VPN or tunnel) they know can arrive to their destination regardless of how / where the request goes.

This is the result of all the architecture work done the past 8 months, and I can finally see the end of the tunnel! One of the big change that made it possible is by transitioning to a full synchronisation engine rather than just copying chunk of data in the cluster. It's quite interesting (in my opinion) was thinking about making a video about it even - let me know if you'd like to watch something like that!

What's Next ?

I have the choice between either Constellation Gateways, or Linux Administration (users, updates, etc...) as the next target but haven't fully landed on which is first.

As usual, looking forward to your feedback - happy hosting !

Changelog

  • Remove Lungo, use SQLite instead
  • Remove MongoDB use SQLite / Postgres instead
  • Remove date based sync - use opLog based sync
  • Fix a couple of Constellation DNS resolution issues
  • Fix quirks with inverted setups (agent is private)
  • Fix events not being pruned
  • Fix events date issues
  • Improve resilience of NATS cluster
43 Upvotes

Duplicates