Skip to content

gogs job from gogs/5.0.0

Github source: 588b9ee or master branch

Properties

databases

address

The database address

Default
127.0.0.1

databases

A list of databases and associated properties to create

Default
[]
Example
databases: |+
  - name: gogs
    citext: true
    tag: gogs

port

The database port

Default
5432

roles

A list of database roles and associated properties to create

Default
[]
Example
roles: |+
  - name: gogs
    password: MyGogsPassword
    tag: gogs

gogs

admin

Admin user for gogs

Default
gogs

domain

Domain name of your server

Default
""
Example
git.example.com

email

Email for admin account

Default

password

Password for admin user

port

Port that gogs listen on

Default
"8080"

protocol

Default
http

secret_key

Global secret key for your server security

tls_cert

Certificat TLS for gogs web

tls_key

Private key TLS for gogs web

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/gogs/ directory (learn more).

  • bin/gogs_ctl (from bin/gogs_ctl)
  • bin/monit_debugger (from bin/monit_debugger)
  • config/app.ini (from config/app.ini.erb)
  • config/gogs.crt (from config/gogs.crt.erb)
  • config/gogs.key (from config/gogs.key.erb)
  • data/properties.sh (from data/properties.sh.erb)
  • env/HOME (from env/HOME)
  • env/PATH (from env/PATH)
  • env/USER (from env/USER)
  • helpers/ctl_setup.sh (from helpers/ctl_setup.sh)
  • helpers/ctl_utils.sh (from helpers/ctl_utils.sh)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.