Derek Coleman & Associates Inc logoDerek Coleman & Associates Inc

Home / Support / Oracle Cloud Marketplace / Gitea

Live

DCA Hardened Git Server for Gitea — Support & Quick Start

A hardened, CVE-patched virtual machine image running Gitea — a lightweight, self-hosted Git service with issues, pull requests, and a built-in CI runner — on Oracle Linux 9.

At a glance

StatusLive on Oracle Cloud Marketplace
Version1.26.4
PlatformOracle Linux 9
Ports open in the host firewallSSH (22/tcp), 3000/tcp
CategoryDeveloper tools
Upstream licenceMIT
PricingPay-as-you-go software fee per OCPU-hour, billed by Oracle on your OCI invoice — see the listing's Pricing tab

Quick start

This is the listing's usage information, verbatim.

After launch:

  1. Connect over SSH as the opc user with the key you supplied at launch:
    ssh opc@<public-ip>
  2. Gitea runs as a systemd service on 127.0.0.1:3000. On first boot it creates the admin account and instance-unique secrets; check status:
    sudo systemctl status gitea
  3. Read the generated administrator credentials (root only):
    sudo cat /root/.gitea_default_credentials

    You will be required to change the password at first login.

  4. Reach the web UI safely by tunnelling over SSH:
    ssh -L 3000:127.0.0.1:3000 opc@<public-ip>
    then open http://localhost:3000 and sign in as dcaadmin.
  5. To expose Gitea beyond the instance, set HTTP_ADDR and configure TLS (a reverse proxy is recommended) in /etc/gitea/app.ini, then open the port:
    sudo firewall-cmd --permanent --add-port=3000/tcp && sudo firewall-cmd --reload

    Restrict TCP 3000 in your VCN security list to the client CIDR; never expose an unproxied Gitea to the internet.

  6. Data (repositories + SQLite DB) lives in /var/lib/gitea; configuration in /etc/gitea/app.ini. Recommended sizing: at least 2 OCPU (4 vCPU) and 16 GB memory, scaling with repository count and CI usage.

The image is CVE-patched at build time. Apply ongoing updates with:

sudo dnf -y update

What the image provides

Still stuck?

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.

Gitea is a trademark of Gitea Limited. This image is an independent hardened distribution and is not affiliated with, endorsed by, or sponsored by Gitea Limited.