Stacks/Forgejo/Services

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 serviceBase serviceVersionsRole
Forgejo
Forgejo17, 15Primary
PostgreSQL
PostgreSQL18, 17Required
OpenSMTPD
OpenSMTPD7Enabled 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.

Forgejo
Forgejo data
Size: 20 GB.
Size: 10 GB.
Optional.