This guide walks through a self-hosted installation of Forgejo.
For Docker installation, see Docker.
Create a directory for Forgejo data and configuration.
sudo mkdir -p /opt/forgejo
cd /opt/forgejo
Create a docker-compose.yml file with your configuration.
Use Docker Compose to start services in the background.
docker compose up -d
Prefer automation? See Forgejo Ansible Setup for an example playbook.
Prefer containers? See Forgejo Docker Setup.
Any questions?
Feel free to contact us. Find all contact information on our contact page.