Platform
Managed Databases
Run PostgreSQL, MySQL, MongoDB, Redis, MinIO and RabbitMQ next to your app, connect with reference variables, expose them over TCP and rotate passwords.
Parslinks runs common databases and infrastructure as managed services inside your project. Each one runs on a persistent volume, gets a generated password and publishes ready-made connection variables that other services reference.
Available engines
| Engine | Default image tag | Port | Data path | Main connection variable |
|---|---|---|---|---|
| PostgreSQL | 16-alpine | 5432 | /var/lib/postgresql/data | DATABASE_URL |
| MySQL | 8 | 3306 | /var/lib/mysql | DATABASE_URL |
| MongoDB | 7 | 27017 | /data/db | MONGO_URL / DATABASE_URL |
| Redis | 7-alpine | 6379 | /data | REDIS_URL |
| MinIO (S3-compatible storage) | latest | 9000 | /data | S3_ENDPOINT + keys |
| RabbitMQ | 3-management | 5672 | /var/lib/rabbitmq | AMQP_URL |
Create a database
- In your project, click New service → Database and choose the engine.
- Parslinks creates the service with a volume at the engine's data path and generates a strong password.
- The database starts in the current environment and is reachable privately at
{service}.{environment}.internal.
Managed databases run as a single replica on their volume, so their data survives deploys and restarts.
Connect your app
Do not copy credentials into your app. Reference the database's outputs instead, so passwords and hosts stay in one place:
postgres and redis are the service names (slugs) in your project. Redeploy the app so the resolved values become part of its snapshot (Variables & Configuration).
Variables each engine publishes
| Engine | Variables |
|---|---|
| PostgreSQL | DATABASE_URL, DATABASE_PUBLIC_URL, PGHOST, PGPORT, PGUSER, PGPASSWORD, PGDATABASE, POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB |
| MySQL | DATABASE_URL, DATABASE_PUBLIC_URL, MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE |
| MongoDB | MONGO_URL, DATABASE_URL, MONGO_PUBLIC_URL, DATABASE_PUBLIC_URL, MONGO_HOST, MONGO_PORT, MONGO_USER, MONGO_PASSWORD |
| Redis | REDIS_URL, REDIS_PUBLIC_URL, REDISHOST, REDISPORT, REDISUSER, REDISPASSWORD |
| MinIO | S3_ENDPOINT, S3_PUBLIC_ENDPOINT, S3_HOST, S3_PORT, S3_ACCESS_KEY, S3_SECRET_KEY |
| RabbitMQ | AMQP_URL, AMQP_PUBLIC_URL, RABBITMQ_HOST, RABBITMQ_PORT, RABBITMQ_USER, RABBITMQ_PASSWORD |
The plain variables (DATABASE_URL, REDIS_URL, …) use the private network. The …_PUBLIC_URL variables use the public TCP proxy and only work once public TCP is enabled.
Connect from your computer
To use a GUI client, a migration tool or psql from outside Parslinks:
- Enable Public TCP on the database (Networking).
- Use the
…_PUBLIC_URLvariable, or the host and port shown in the dashboard.
Turn public TCP off again when you no longer need outside access. Apps inside the project should always use the private URL.
Rotate credentials
PostgreSQL and Redis support in-place password rotation: Parslinks changes the password inside the running engine (ALTER USER for PostgreSQL, CONFIG SET requirepass for Redis) and updates the published variables. Redeploy the services that reference them so they pick up the new value.
Backups
Take snapshots of the database's volume before risky changes; for engines that support it, use the dump-based backup (pg_dump, Redis SAVE, mongodump) for an application-consistent copy. See Volumes & Backups.
Databases in preview environments
When a pull-request environment is created, managed databases reference the existing instance by default instead of starting a new one. Previews therefore share the source environment's data. Deploy the database in the preview environment when previews need isolated data.
Health and metrics
Engines are health-checked on their own port from outside the container (for example pg_isready for PostgreSQL). CPU, memory and volume usage appear in Observability; PostgreSQL and Redis also export engine metrics.
Good practices
- Keep one database per concern, and reference it by name from each app that needs it.
- Run schema migrations as part of your app's start or release process, not by hand on production.
- Never change the engine's port variables in the database service itself; consumers use the published variables.
- First boot of MySQL can take a few minutes while it initializes its data files. Let it finish before redeploying.
