Project Services

Project services let you provision managed database and infrastructure services for your projects. Services run as Docker containers alongside your preview containers.

Available Services#

PostgreSQL (Available)#

Managed PostgreSQL databases with:

  • Versions: 17 (default), 16, 15
  • Size tiers:
TierMemoryCPUStorage
Dev256 MB0.51 GB
Standard512 MB1.05 GB
Performance1 GB2.020 GB

Redis (Available)#

Managed Redis instances for caching and sessions:

  • Versions: 7 (default), 6
  • Size tiers:
TierMemoryCPUStorage
Dev128 MB0.5512 MB
Standard256 MB1.02 GB
Performance512 MB2.010 GB

Coming Soon#

  • MySQL
  • MongoDB
  • Qdrant (vector database)
  • MinIO (S3-compatible storage)
  • Mailpit (email testing)

Provisioning a Service#

From Project Settings > Services:

  1. Choose a service type (e.g., PostgreSQL)
  2. Select a size tier and version
  3. Click Provision — the service starts provisioning asynchronously

The service goes through these states:

Pending → Provisioning → Running → Stopped → Error → Destroying → Destroyed

Credentials#

Each service generates credentials automatically. Credentials are encrypted at rest and can be viewed in masked or revealed mode.

PostgreSQL Credentials#

KeyExample
DATABASE_URLpostgresql://user:pass@host:5432/db
PGHOSTContainer hostname
PGPORT5432
PGUSERAuto-generated username
PGPASSWORDSecurely generated password
PGDATABASEAuto-generated database name

Redis Credentials#

KeyExample
REDIS_URLredis://:pass@host:6379
REDIS_HOSTContainer hostname
REDIS_PORT6379
REDIS_PASSWORDSecurely generated password

Managing Services#

ActionDescription
StartStart a stopped service
StopStop a running service (data preserved)
RestartStop and start a service
DestroyPermanently remove the service, container, and volume

Permission required: project:settings for start/stop/restart, project:delete for destroy.

Health Checks#

Services include automatic health checks. For PostgreSQL, the system uses pg_isready to verify the database is accepting connections before marking the service as running.

Service Catalog#

The service catalog shows all available and coming-soon services. Each catalog entry includes the service type, description, available versions, size tiers, and the environment variable keys that will be generated.