0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-22 17:48:39 -05:00
forgejo-docs/docs/developer/code-forgejo-org.md
Earl Warren 69a63cea19
developer: infrastructure at hetzner
* document the current setup at hetzner01 and maintenance procedures
* document the new hardware setup at hetzner{02,03} for hosting code.forgejo.org
2023-12-05 22:36:09 +01:00

1.6 KiB

title license
code.forgejo.org CC-BY-SA-4.0

https://code.forgejo.org is a Forgejo instance running the latest stable version, starting with the release candidates. It is dedicated to hosting repositories dedicated to Forgejo development, among which:

To make these repositories easier to find, the following push mirrors are in place:

Hardware

https://code.forgejo.org runs on the code LXC container hosted on the hetzner{02,03}.forgejo.org LXC hypervisor.

It is deployed and upgraded using the following Enough command line:

$ mkdir -p ~/.enough
$ git clone https://forgejo.octopuce.forgejo.org/forgejo/enough-code ~/.enough/code.forgejo.org
$ enough --domain code.forgejo.org service create --host bind-host forgejo

Upgrading only Forgejo:

$ enough --domain code.forgejo.org playbook -- --limit bind-host,localhost --private-key ~/.enough/code.forgejo.org/infrastructure_key venv/share/enough/playbooks/forgejo/forgejo-playbook.yml

Login in the machine hosting the Forgejo instance for debugging purposes:

enough --domain code.forgejo.org ssh bind-host