跳转到主要内容
本章内容37
-
01
Command-line interface
Forgejo comes with a command-line interface (CLI) for administrative actions.
It is documented below and is...
4 小时前
-
02
Configuration Cheat Sheet
This is a cheat sheet for the Forgejo configuration file. It contains most of the settings
that can be conf...
4 小时前
-
03
Forgejo Administrator Guide
These documents are targeted to people who run Forgejo on their machines.
Installation
Introduction
With Do...
4 小时前
-
04
Release schedule
Forgejo stable releases are published on a fixed schedule, every quarter. The most up-to-date version is av...
4 小时前
-
05
Forgejo Runner Configuration
When Forgejo identifies a job that needs to be run, it inspects the jobs'
runs-on field to evaluate which ...
4 小时前
-
06
Utilizing Docker within Actions
Forgejo Runner uses a container environment to run actions, but additional configuration is required to all...
4 小时前
-
07
Forgejo Actions administrator guide
Forgejo Actions provides continuous integration driven from the files found in the
.forgejo/workflows dire...
4 小时前
-
08
Forgejo Runner Registration
Forgejo Runner requires a uuid and token to connect to Forgejo. These values act as a username and password...
4 小时前
-
09
Securing Forgejo Actions Deployments
Remote code execution (RCE) is typically considered one of the most critical security vulnerabilities that ...
4 小时前
-
10
Installation from binary
Forgejo Runner requires that Git is installed, and has been tested with a minimum version of Git 2.24.3.
Do...
4 小时前
-
11
Installation with Docker
The OCI images are built from the Dockerfile which is
found in the source directory. It contains the
forgej...
4 小时前
-
12
Installation from packaging
NixOS 26.05 or earlier
A
forgejo-runner package is available for Nix.
As NixOS service module
services.gi...
4 小时前
-
13
Adopt existing git directories
If directories containing bare git repositories exist in the
[repository].ROOT hierarchy, they can be impor...
4 小时前
-
14
Interface customization
Forgejo currently has limited capabilities for customizing the user interface.
Configurations and UI settin...
4 小时前
-
15
Incoming Email
Forgejo supports the execution of several actions through incoming mails. This page describes how to set th...
4 小时前
-
16
JWT Key Management and Rotation
Forgejo uses JSON Web Tokens
(JWTs) extensively for various authentication and authorization functions.
Thi...
4 小时前
-
17
Moderation tools
Moderation tools are meant to help the Forgejo users and admins handle
spam bots and undesirable interactio...
4 小时前
-
18
OAuth2 provider
The following OAuth2 applications are pre-registered because it is generally useful for Forgejo to be an OA...
4 小时前
-
19
OIDC Group Mappings
Forgejo supports configuring group team mappings for OIDC authentication
sources that map OIDC groups to Fo...
4 小时前
-
20
Soft-Quota
Forgejo has early support for a soft-quota that can protect your server from high disk usage
due to abuse o...
4 小时前
-
21
Search Engines Indexation
By default, your Forgejo installation will be indexed by search engines.
If you don't want your repository ...
4 小时前
-
22
Service Message
The service message feature is intended for admins of instances that require their users to consent to some...
4 小时前
-
23
Instance Commit Signing
Forgejo has the ability to sign commits when Forgejo themselves generates those commits, such as:
Repositor...
4 小时前
-
24
Installation from binary
[!note] Note
This guide uses git.example.com and x.y.z for illustrative purpose.
Replace with your domain a...
4 小时前
-
25
Database Preparation
Forgejo uses a database to store relational data, however not every relational database can be used by Forg...
4 小时前
-
26
Installation with Docker
Forgejo provides container images for use with Docker or other containerization tools.
docker pull codeberg...
4 小时前
-
27
Installation
Forgejo publishes a stable release every three months and a long term support
(LTS) release every year. Pat...
4 小时前
-
28
Authentication
Both the LDAP via BindDN and the simple auth LDAP share the following fields:
Authorization Name (required)...
4 小时前
-
29
Backups and Backup Restoration
As your Forgejo installation becomes a critical part of your development lifecycle, the data within it need...
4 小时前
-
30
Email setup
Forgejo can be set to send emails such as a registration confirmation, either with Sendmail (or compatible ...
4 小时前
-
31
Recommended Settings and Tips
The default settings are applicable to a broad range of Forgejo instances. Nevertheless, not every instance...
4 小时前
-
32
Reverse proxy
Forgejo can live standalone, or behind a reverse proxy.
You may want this for scenarios like:
Subpath mappi...
4 小时前
-
33
Storage settings
The storage for each subsystem is defined in
app.ini. It can either
be on disk (
local which is the defaul...
4 小时前
-
34
Logging Configuration
The logging configuration of Forgejo mainly consists of 3 types of components:
The
[log] section for gener...
4 小时前
-
35
Profiling
Forgejo is written in Go, which means Forgejo can leverage the extensive profiling tooling that is provided...
4 小时前
-
36
Seek Assistance
Chatroom
Issue tracker
[!note] Note
When asking for support, it may be a good idea to have the following av...
4 小时前
-
37
Upgrade guide
This guide helps Forgejo admins perform upgrades safely and provides guidance to troubleshoot problems. It ...
4 小时前