Home / Support / Oracle Cloud Marketplace / Forgejo
LiveA hardened, CVE-patched virtual machine image running the Forgejo Git forge on Oracle Linux 9.
| Status | Live on Oracle Cloud Marketplace |
|---|---|
| Version | 15.0.9 |
| Platform | Oracle Linux 9 |
| Ports open in the host firewall | SSH (22/tcp), 3000/tcp |
| Category | Developer tools |
| Upstream licence | GPL-3.0-or-later |
| Pricing | Pay-as-you-go software fee per OCPU-hour, billed by Oracle on your OCI invoice — see the listing's Pricing tab |
This is the listing's usage information, verbatim. Every command in it is run by our QA on a freshly launched instance before an image version can publish, so the text and the tested procedure cannot drift apart.
After launch:
ssh opc@PUBLIC_IPsudo systemctl status forgejosudo cat /root/.forgejo_default_credentialsYou will be required to change the password at first login.
ssh -L 3000:127.0.0.1:3000 opc@PUBLIC_IP
then open https://localhost:3000 and sign in as dcaadmin. The certificate is self-signed and unique to this instance; to trust it, print it and save it on your workstation as forgejo-cert.pem: sudo cat /etc/forgejo/tls/cert.pemsudo sed -i -e 's/^HTTP_ADDR = 127.0.0.1$/HTTP_ADDR = 0.0.0.0/' -e 's#^ROOT_URL = https://localhost:3000/$#ROOT_URL = https://PRIVATE_IP:3000/#' /etc/forgejo/app.ini && sudo systemctl restart forgejoPort 3000/tcp is already permitted in the host firewall. Restrict TCP 3000 in your VCN security list to your users' CIDR; never expose Forgejo directly to the internet.
git -c http.sslCAInfo=forgejo-cert.pem clone https://PRIVATE_IP:3000/OWNER/REPO.gitTo use a CA-issued certificate instead, replace /etc/forgejo/tls/cert.pem and key.pem (key owned by root:git, mode 0640) and restart Forgejo.
The image is CVE-patched at build time. Apply ongoing operating system updates with:
sudo dnf -y updateForgejo itself is installed from the project's signed release binary and is refreshed by launching a newer image version of this listing. Its licence and matching source code ship in the image; see /usr/local/share/doc/forgejo/SOURCE.txt
Email support@dcassociatesgroup.com (response within 1 business day) or use the
contact form. Include the listing name, your OCI region, the instance OCID and the
output of sudo journalctl -u <service> -n 100 for the unit named in the quick start.
Forgejo is developed by the Forgejo community, and the project's domains are held by Codeberg e.V.; the name is used here only to identify the software this image runs. This image is an independent hardened distribution and is not affiliated with, endorsed by, or sponsored by the Forgejo project or Codeberg e.V. Learn more about Forgejo at https://forgejo.org. Git is a trademark of Software Freedom Conservancy.