1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00
iiab/roles/gitea
2019-03-08 02:04:29 -05:00
..
defaults Update main.yml 2019-03-08 01:42:24 -05:00
tasks Don't care about previous state per Ansible convention 2019-03-08 00:04:53 -05:00
templates TOML requires Boolean values to be lowercase 2019-03-07 20:10:35 -05:00
README.rst Update README.rst 2019-03-08 02:04:29 -05:00

=============
Gitea README
=============

This Ansible role installs Gitea - a self-hosted Git service written in Go.

Using It
--------

Gitea should be accessible at: http://box/gitea

Configuration
-------------

Gitea has been configured to work with MySQL; it can also be used with SQLite or
PostgreSQL. If you want to use it with a different database, change the 
``DB_TYPE`` property in ``/etc/gitea/app.ini`` [1] and change the line ``After=mysqld.service``
in ``/etc/systemd/system/gitea.service`` [2] to one of the following:

* SQLite: comment it out.
* Postgres: ``After=postgresql.service``

[1] Prior to installing Gitea, instead edit: ``/opt/iiab/iiab/roles/gitea/templates/app.ini.j2``

[2] Prior to installing Gitea, instead edit: ``/opt/iiab/iiab/roles/gitea/templates/gitea.service.j2``

Documentation
-------------

Further info on configuring: `https://docs.gitea.io <https://docs.gitea.io/>`_