Skip to content

Configuration

You will need to configure both Gitea and gitea-auto-mirror, as well as your remote for this to work.

Configuring Gitea (source)

Your source server will need to be configured to trust the webhook URL, you will need to create a webhook entry on organization or site level, and you need to configure credentials for authenticating with the source server.

Detailed source instance configuration is described in Configuring the source server.

Configuring Gitea Auto Mirror

Gitea Auto Mirror needs to be configured properly to provide a secure communication between the API and the source server, to properly forward the requests and match the correct repositories, and to make sure that Gitea Auto Mirror pushes the correct credentials to the remote.

Detailed configuration options for Gitea Auto Mirror can be found here in Configuring Gitea Auto Mirror.

Configuring the mirror server

The mirror server must be configured to allow for "push to create", which is usually an available option on most git servers. An example for Gitea as mirror can be found under Configuring the upstream mirror.