Add one from your app
Add PostgreSQL 18, MySQL 9.7 or Redis 8 from an app's Databases tab, named after the app by default, or link one you already run. The connection URL stays hidden until you reveal or copy it.
Start a database from a template on the same server as your app. Echowa generates its passwords, keeps its data on a volume across redeploys, checks its health every minute, backs it up to S3 and shows you its slowest queries.
curl -fsSL https://get.echowa.dev/install.sh | sudo bashDatabases
Databases are apps made from a template, so they deploy, log and chart like any other. The difference is what the template fills in for you.
Add PostgreSQL 18, MySQL 9.7 or Redis 8 from an app's Databases tab, named after the app by default, or link one you already run. The connection URL stays hidden until you reveal or copy it.
Size, connections, cache hits and commits, read every minute and charted beside the container's memory. Slow queries come from the database's own statistics.
PostgreSQL, MySQL and Redis back up to any S3-compatible bucket, by hand or on a schedule that keeps the last few. Restore into the same app or a new one, from the bucket or an uploaded file.
The image, tag, port, healthcheck, env vars, volume and arguments, chosen so the database is safe to run on a public server.
Long random passwords, made when you create the database and encrypted at rest with your app key. Pages get the env keys, never the values, until you reveal one.
Data lives in a Docker volume named echowa-<app>-data. An app with a volume runs one replica and updates stop-first, because a volume has one writer.
Databases get no domain and no host port. Your apps reach them on the overlay network at echowa-<name>:<port>, and nothing else can.
Publish one on a host port for pgAdmin or a local client. Echowa issues the database its own certificate authority, and you download the CA from the page.
PostgreSQL through pg_stat_statements behind a switch, MySQL from its statement digests, Redis by command. Each list resets with one click.
pg_dump and mysqldump backups to any S3-compatible bucket, by hand or on a schedule, restored into the same app or a new one.
PgBouncer beside PostgreSQL in one click, in transaction mode, so up to 1,000 clients share 50 connections. The direct URL keeps working beside the pooled one.
Three templates so far: PostgreSQL 18, MySQL 9.7 (the LTS line) and Redis 8. Each one is the official image with a tag you can change on the app's Docker config tab. MySQL gets a user called app and a database named after the app, with separate generated passwords for that user and for root. Redis gets a password and runs as a non-root redis-server.
A template's healthcheck gates every deploy, as it does for your own apps, so a database that can't start never replaces one that can.
Open the database and its Connect panel shows the host, the port and a connection URL with the env keys in place of the passwords. Reveal or Copy fetches the real URL. Paste it into your app's env, for example as DATABASE_URL, and redeploy the app. Linking a database to an app groups them on the dashboard and on the app's Databases tab. It doesn't change the app's env for you yet.
External access, off by default, publishes the database on a host port you choose, 1024 or above. Turning it on issues a CA and a server certificate for that database, and Echowa redeploys it with TLS: PostgreSQL with ssl=on, MySQL on Echowa's certificate, and Redis on TLS only, port 6380. Download the CA from the page and point your client at it, for example sslmode=verify-ca for PostgreSQL.
Ports that Docker publishes skip ufw's rules, so the page warns that ufw won't restrict this one. Limit who can reach it with your provider's firewall. The install guide has the details.
Change the tag and redeploy to move to a newer image. Within a major version that's all it takes. Across major versions, a new PostgreSQL on an old data volume starts an empty database rather than upgrading the files, so the Docker config tab warns you before you change it. Back up first, then restore into a new app on the new version.
A PostgreSQL app can run PgBouncer beside it. On its Connection tab, Enable connection pooling starts echowa-<app>-pooler on port 6432, and Connect shows a pooled URL with the same user and password. Nothing changes for an app until you give it that URL, and the direct URL keeps working.
The pooler runs in transaction mode: a client holds a connection to PostgreSQL only while a transaction runs, so up to 1,000 clients share 50 connections. Run migrations on the direct URL, point anything that uses LISTEN at it too, and use SET LOCAL rather than SET. Laravel on PHP 8.3, or on an image built against libpq older than 17, needs emulated prepares.
If an app can't connect, pick Pooler on the database's Logs tab, where failed logins show.
PostgreSQL, MySQL and Redis apps have a Backups section: back up now, or on a schedule that keeps the last few, to any S3-compatible bucket, and restore into the same app or a new one. Export downloads the database straight to your browser. Backups has the details. A Redis backup is a snapshot of the whole server, every key in it. Echowa's own SQLite backup holds your settings and secrets, not your apps' data.
Deleting a database app deletes its volume and the data in it. The delete dialog names the volume first.
What the templates do, and what's still on you.
No. It runs on your server, as a Docker Swarm service with a volume, and Echowa sets it up, watches it, backs it up and shows you its numbers. You still choose when to upgrade, and restore into a new app on the newer version to do it.
PostgreSQL 18, MySQL 9.7 and Redis 8, as templates. MariaDB, MongoDB and others aren't templates yet. Ask for one on GitHub issues.
Yes, with External access. It publishes the database on a host port over TLS, with a CA you download from the page. Use your provider's firewall to limit who can reach the port, because ports Docker publishes skip ufw.
Yes, PostgreSQL, MySQL and Redis, to any S3-compatible bucket you add, by hand or on a schedule. A restore checks each dump against its manifest and takes a safety backup first. A Redis backup is the whole server, every key in it.
It stays. The data is on a named volume, and a database app updates stop-first, so the old container lets go of the volume before the new one starts. Expect a few seconds when the database isn't answering.
Open the database's Metrics section. MySQL and Redis list theirs straight away. PostgreSQL needs its Slow queries switch on, which redeploys it with pg_stat_statements loaded. The lists hold statements, never the values in them.
Yes, for PostgreSQL. One switch on the Connection tab runs PgBouncer beside the database in transaction mode, with a pooled URL to give your apps. Test an app on it before you move it over, since session features such as LISTEN and session advisory locks don't pass through.
One server, every deploy, every number.
curl -fsSL https://get.echowa.dev/install.sh | sudo bash