Go to file
Robert Kaussow 2570c5025f
continuous-integration/drone/push Build is failing Details
refactor ci pipeline
2019-10-17 08:26:10 +02:00
defaults refactor ci pipeline 2019-10-17 08:26:10 +02:00
handlers remove nginx integration 2019-07-18 23:51:54 +02:00
meta add standards version 2019-01-09 20:41:59 +01:00
molecule refactor ci pipeline 2019-10-17 08:26:10 +02:00
tasks refactor ci pipeline 2019-10-17 08:26:10 +02:00
templates fix ansible_managed handling 2019-08-27 08:39:46 +02:00
.drone.jsonnet refactor ci pipeline 2019-10-17 08:26:10 +02:00
.drone.yml refactor ci pipeline 2019-10-17 08:26:10 +02:00
.gitignore refactor ci pipeline 2019-10-17 08:26:10 +02:00
HEADER.md refactor ci pipeline 2019-10-17 08:26:10 +02:00
LICENSE Initial commit 2018-12-08 22:20:11 +01:00
README.md initial commit 2018-12-08 22:21:48 +01:00

README.md

sit-lnx.gitea

Deploy a gitea (git with a cup of tea) instance.

Role Variables

gitea_user: "gitea_adm"
gitea_user_home: "/home/{{ gitea_user }}"
gitea_group: "{{ gitea_user }}"
gitea_packages: ["git"]

# Create separate LVM storage for gitea
gitea_lvm_enabled: False
# This variables are only necessary if gitea_lvm_enabled is 'True'
# Set physical volumes to use in LVM
gitea_lvm_pvs: #['/dev/sdb', '/dev/sdc']
gitea_lvm_vg:  #"vg_gitea"
gitea_lvm_lv: #"lv_gitea"
gitea_lvm_size: #"50G"

gitea_base_dir: "/opt/gitea"
gitea_bin_dir: "{{ gitea_base_dir }}/bin"
gitea_config_dir: "{{ gitea_base_dir }}/custom/conf"
gitea_data_dir: "{{ gitea_base_dir }}/data"
gitea_log_dir:  "{{ gitea_base_dir }}/log"

gitea_bind_url: localhost
gitea_bind_port: 61000
gitea_bind_protocol: http

gitea_db_type: #mysql, postgres, sqlite, mssql
gitea_db_host: #dbserver
gitea_db_port: #5432
gitea_db_name: #gitea
gitea_db_user: #gitea
gitea_db_passwd: #password

# Variables containing the tls cert/private key
gitea_tls_chained_cert: #"{{ my_vaulted_cert }}"
gitea_tls_priv_key: #"{{ my_vaulted_key }}"

gitea_install_lock: true
# This secret is publicly known and should not used in production!
# Use host_vars/group_vars and ansible vault to deploy a strong secret
gitea_secret: "1234567ABCDEFG"
gitea_run_mode: prod
gitea_landing_page: explore
gitea_disable_registration: true
gitea_log_level: Debug

Examples

Playbook

- hosts: gitea

  roles:
    - xoxys.nginx
    - xoxys.gitea

Dependencies

None. It is recommendet to deploy gitea with nginx as reverse proxy.