homelab/roles/any.software.forgejo-podman/README.md

1.1 KiB

any.software.forgejo-podman

Description

Role that installs Forgejo along with a Postgresql database in Podman.

Configuration

  • General
    • forgejo_version: version of Forgejo to install
    • forgejo_postgres_version: version of PostgreSQL to install
  • Networking
    • forgejo_ssh_port: port to expose the SSH port to; will skip publishing port if omitted
    • forgejo_http_port: port to expose the HTTP server to; will skip publishing port if omitted
    • forgejo_domain: domain the server will be running on
    • forgejo_ssh_domain: SSH domain setting, defaults to forgejo_domain
    • forgejo_root_url: root URL setting
  • Secrets
    • forgejo_lfs_jwt_secret: the LFS JWT secret
    • forgejo_secret_key: the SECRET_KEY variable
    • forgejo_internal_token: the INTERNAL_TOKEN variable
    • forgejo_jwt_secret: the JWT secret used for OAuth2
  • Data
    • forgejo_data_dir: the directory regular data is stored in
    • forgejo_repositories_dir: directory all repositories are stored in
    • forgejo_lfs_dir: directory LFS objects are stored in
    • forgejo_postgres_dir: data directory for the PostgreSQL database