Forgejo stack services
This page lists every service of the Forgejo stack, including the ones that are disabled by default, with the configs, settings, actions, cron schedules, volumes, links, backups, and imports of each.
| Stack service | Base service | Versions | Role |
|---|---|---|---|
Forgejo | Forgejo | 17, 15 | Primary |
PostgreSQL | PostgreSQL | 18, 17 | Required |
OpenSMTPD | OpenSMTPD | 7 | Enabled by default |
- Additional services can be added or removed.
- When one of the services in the stack updates, the stack can be upgraded to a new revision.
- Stack changes can then be rolled out to environments on your schedule.
Backups
Protect service data with repeatable backup workflows that stay attached to the stack.
PostgreSQL
Default database backup
Imports and migration
Bring working data into another environment or onboard existing workloads faster with stack-defined import flows.
PostgreSQL
Database import
Import from a backup archive, uploaded file, or public URL depending on the service workflow.
Configs
Keep service config files versioned with the stack instead of rebuilding them per environment.
PostgreSQL
PostgreSQL config
PostgreSQL
PostgreSQL config
Settings
Tune service behavior per environment while keeping one reusable stack baseline.
Forgejo
Admin username
Default value: forgejo_admin.
Forgejo
Admin password
Forgejo
Admin email
PostgreSQL
Max prepared transactions
Default value: 0.
Volumes
Provision the persistent storage and shared volume relationships the stack expects.
Service links
See how services are wired together so dependencies stay consistent across environments.
Forgejo
PostgreSQL
Linked to PostgreSQL. Required.