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,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