21 lines
705 B
YAML
21 lines
705 B
YAML
# 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:
|