Skip to content

gronke/ansible-gogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Gogs Git Server

Provisions Gogs - Go Git Service - a painless self-hosted Git service

Examples

Gogs with SMTP Email transport and MySQL backend

- role: gronke.gogs
  gogs_secret_key: 'my-secret-key'
  gogs_config:
    app_name: 'Example Gogs Server'
    server:
      root_url: 'https://git.example.com/'
    database:
      host: "127.0.0.1"
      user: "root"
      passwd: ""
      name: "gogs_database_name"
    mail:
      from: "no-reply@example.com"
  gogs_smtp:
    host: "smtp.example.com"
    port: "587"
    user: "service+gogs@example.com"
    password: "correct horse battery staple"

Gogs listens on TCP port 3000 by default.

About

Ansible role to provision Gogs (Go Git Service)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published