gogs #12
Description
A painless self-hosted Git service.
- Tags:
- applications ›
- git ›
Juju reactive charm layer for Gogs
Build
In this directory:
$ charm build
Deploy
Gogs needs a PostgreSQL database.
$ juju deploy cs:~cmars/gogs
$ juju deploy postgresql
$ juju add-relation gogs postgresql:db
Browse to port 3000 on the gogs workload.
HTTP reverse proxying is also supported, and recommended for TLS termination.
$ juju deploy haproxy
$ juju add-relation gogs haproxy
$ juju expose haproxy
Then configure the gogs public host name.
$ juju set-config gogs host=https://git.shlub.com
License
Copyright 2016 Cmars Technologies, LLC.
The copyright file contains the software license for this charm.
Refer the Gogs website for more information on the software installed by this charm.
Contact
Email: charmed at cmars.tech IRC: cmars on FreeNode
Configuration
- force_private
- (boolean) Force every new repository to be private
- host
- (string) External host name
- http_port
- (int) HTTP port for web application
- 3000
- run_mode
- (string) Either "dev", "prod" or "test"
- prod
- ssh_port
- (int) SSH port for git repository access
- 3022
- title
- (string) App name that shows up on every page title
- Go Git Service