Gitea moved from AUR to community
parent
807b01c97b
commit
550d828e7a
|
@ -103,6 +103,9 @@ gitea_enable_notify_email: 'true'
|
|||
# Space-separated list of mime types to accept for attachments (“*/*” means: “anything”).
|
||||
gitea_mime_attach: 'image/jpeg image/png application/zip application/gzip'
|
||||
|
||||
# A random salt-string for internal encryption (change it!).
|
||||
gitea_security_secret: '!#@FDEWREWR&*('
|
||||
|
||||
# Maximum size of HTTP and PHP uploads.
|
||||
http_max_upload: 10000M
|
||||
|
||||
|
|
|
@ -14,19 +14,9 @@
|
|||
package:
|
||||
name: "{{item}}"
|
||||
with_items:
|
||||
- gitea
|
||||
- asciidoctor
|
||||
|
||||
- name: install AUR software
|
||||
include_role:
|
||||
name: aur.inc
|
||||
allow_duplicates: true
|
||||
vars:
|
||||
pkg_names: |
|
||||
[
|
||||
"gitea"
|
||||
]
|
||||
aur_user: git
|
||||
|
||||
- name: set git home to Gitea repos
|
||||
user:
|
||||
name: git
|
||||
|
@ -65,7 +55,11 @@
|
|||
option: '{{item.o}}'
|
||||
value: '{{item.v}}'
|
||||
with_items:
|
||||
- {s: null, o: RUN_USER, v: git}
|
||||
- {s: null, o: RUN_MODE, v: prod}
|
||||
- {s: repository, o: ROOT, v: /var/lib/gitea/repos}
|
||||
- {s: repository.editor, o: LINE_WRAP_EXTENSIONS, v: '.txt,.md,.markdown,.mdown,.mkd,.adoc,.asciidoc,'}
|
||||
- {s: ui, o: SHOW_USER_EMAIL, v: 'false'}
|
||||
- {s: server, o: PROTOCOL, v: unix}
|
||||
- {s: server, o: DOMAIN, v: '{{net_soa}}'}
|
||||
- {s: server, o: ROOT_URL, v: 'https://{{net_soa}}{{http_pfx_gitea}}/'}
|
||||
|
@ -83,8 +77,10 @@
|
|||
- {s: database, o: NAME, v: '{{gitea_db}}'}
|
||||
- {s: database, o: USER, v: '{{gitea_db_user}}'}
|
||||
- {s: database, o: PASSWD, v: '{{gitea_db_password}}'}
|
||||
- {s: database, o: LOG_SQL, v: 'false'}
|
||||
- {s: indexer, o: REPO_INDEXER_ENABLED, v: 'true'}
|
||||
- {s: admin, o: DISABLE_REGULAR_ORG_CREATION, v: '{{gitea_disable_org_creation}}'}
|
||||
- {s: security, o: SECRET_KEY, v: '{{gitea_security_secret}}'}
|
||||
- {s: security, o: REVERSE_PROXY_AUTHENTICATION_USER, v: Remote-User}
|
||||
- {s: service, o: REGISTER_EMAIL_CONFIRM, v: 'true'}
|
||||
- {s: service, o: DISABLE_REGISTRATION, v: '{{gitea_disable_registration}}'}
|
||||
|
@ -99,6 +95,7 @@
|
|||
- {s: session, o: PROVIDER, v: file}
|
||||
- {s: session, o: COOKIE_SECURE, v: 'true'}
|
||||
- {s: attachment, o: ALLOWED_TYPES, v: '{{gitea_mime_attach | replace(" ", "|")}}'}
|
||||
- {s: log, o: ROOT_PATH, v: /var/log/gitea/}
|
||||
- {s: log, o: MODE, v: console}
|
||||
- {s: log, o: LEVEL, v: Warn}
|
||||
- {s: log.console, o: LEVEL, v: Warn}
|
||||
|
|
Loading…
Reference in New Issue