Template: template-forgejo — docker-compose.yml and README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
* text=auto eol=lf
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
# Forgejo on Jambotron
|
||||||
|
|
||||||
|
A lightweight self-hosted Git service: repositories, issues, pull requests and packages.
|
||||||
|
|
||||||
|
A ready-made template for [Jambotron](https://jambotron.com): one `docker-compose.yml` with the official image, nothing to build.
|
||||||
|
|
||||||
|
## Deploy in one click
|
||||||
|
|
||||||
|
1. Sign in to [jambotron.com](https://jambotron.com).
|
||||||
|
2. Press **Deploy** on the **Forgejo** card ([jambotron.com/apps](https://jambotron.com/apps), the home page or an empty projects page).
|
||||||
|
3. Jambotron uploads this template, adds an HTTPS subdomain to the `forgejo` service (port 3000) and starts the deploy.
|
||||||
|
4. Open the address and finish the installation page: set **Server domain** and **Base URL** to your address (`https://…`), keep SQLite. The first registered user becomes the administrator — register right away. Git works over HTTPS; SSH is off.
|
||||||
|
|
||||||
|
## Deploy it yourself
|
||||||
|
|
||||||
|
Download this repository as a ZIP, create a project on Jambotron, upload the ZIP, pick `docker-compose.yml`, deploy and add a domain to the `forgejo` service, port 3000. Or point a project at this repository (deploy from Git).
|
||||||
|
|
||||||
|
## Data
|
||||||
|
|
||||||
|
Named volumes survive redeploys: `forgejo_data` — repositories and the SQLite database; `forgejo_config` — `app.ini`.
|
||||||
|
|
||||||
|
## Limits
|
||||||
|
|
||||||
|
Fits the free plan: 1 GB RAM per project, up to 5 services.
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
# Forgejo — lightweight self-hosted Git service: repositories, issues, pull requests, packages.
|
||||||
|
# On Jambotron: deploy → domain on the forgejo service, port 3000 → finish the installation page, the first user becomes admin.
|
||||||
|
services:
|
||||||
|
forgejo:
|
||||||
|
image: codeberg.org/forgejo/forgejo:17-rootless
|
||||||
|
restart: unless-stopped
|
||||||
|
expose:
|
||||||
|
- "3000"
|
||||||
|
environment:
|
||||||
|
FORGEJO__database__DB_TYPE: sqlite3
|
||||||
|
# Git over HTTPS only: Jambotron domains carry HTTP, not SSH
|
||||||
|
FORGEJO__server__DISABLE_SSH: "true"
|
||||||
|
volumes:
|
||||||
|
# Repositories, SQLite database and settings
|
||||||
|
- forgejo_data:/var/lib/gitea
|
||||||
|
- forgejo_config:/etc/gitea
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
forgejo_data:
|
||||||
|
forgejo_config:
|
||||||
Reference in New Issue
Block a user