1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00
iiab/roles/gitea
Aidan Fitzgerald 5146762c9d Reflect that SQLite is the default DBMS
Signed-off-by: Aidan Fitzgerald <acf67@cornell.edu>
2019-03-17 12:16:43 -04:00
..
defaults Upgrade 1.7.3 -> 1.7.4 2019-03-16 18:29:32 -04:00
tasks Use iiab_hostname and iiab_domain in app.ini 2019-03-13 14:02:59 -04:00
templates Reflect that SQLite is the default DBMS 2019-03-17 12:16:43 -04:00
README.rst Reflect that SQLite is the default DBMS 2019-03-17 12:16:43 -04: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 SQLite; it can also be used with MySQL or
PostgreSQL. If you want to use it with a different database, change the 
``DB_TYPE`` property in ``/etc/gitea/app.ini`` [1] and add one of the following 
lines to the ``[Unit]`` section of ``/etc/systemd/system/gitea.service`` [2]:

* MySQL: ``After=mysqld.service``
* PostgreSQL: ``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/>`_