summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gitea/app.ini78
-rw-r--r--README.md5
-rw-r--r--cgit/cgitrc63
3 files changed, 146 insertions, 0 deletions
diff --git a/Gitea/app.ini b/Gitea/app.ini
new file mode 100644
index 0000000..df752e3
--- /dev/null
+++ b/Gitea/app.ini
@@ -0,0 +1,78 @@
+APP_NAME = GitCom: Git with a cup of Com
+RUN_USER = git
+RUN_MODE = prod
+
+[oauth2]
+JWT_SECRET = $JWT
+
+[security]
+INTERNAL_TOKEN = $TOKEN
+INSTALL_LOCK = true
+SECRET_KEY = $KEY
+
+[server]
+LOCAL_ROOT_URL = http://127.0.0.2:3501/
+SSH_DOMAIN = git.com.de
+DOMAIN = git.com.de
+HTTP_PORT = 3501
+ROOT_URL = https://git.com.de/
+DISABLE_SSH = false
+SSH_PORT = 28
+LFS_START_SERVER = true
+LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
+LFS_JWT_SECRET = $LFSJWT
+OFFLINE_MODE = false
+START_SSH_SERVER = false
+OFFLINE_MODE = true
+
+[database]
+DB_TYPE = mysql
+HOST = 127.0.0.1:3306
+NAME = $DB_TYPE
+USER = $DBUSER
+PASSWD = $DBPASS
+SCHEMA =
+SSL_MODE = disable
+CHARSET = utf8
+PATH = /var/lib/gitea/data/gitea.db
+
+[repository]
+ROOT = /var/lib/git/gitea-repositories
+
+[mailer]
+ENABLED = true
+FROM = GitSystem@git.com.de
+MAILER_TYPE = smtp
+HOST = $SMTPHOST
+IS_TLS_ENABLED = true
+USER = $SMTPUSER
+PASSWD = $SMTPPASS
+
+[service]
+REGISTER_EMAIL_CONFIRM = true
+ENABLE_NOTIFY_MAIL = true
+DISABLE_REGISTRATION = false
+ALLOW_ONLY_EXTERNAL_REGISTRATION = false
+ENABLE_CAPTCHA = false
+REQUIRE_SIGNIN_VIEW = false
+DEFAULT_KEEP_EMAIL_PRIVATE = false
+DEFAULT_ALLOW_CREATE_ORGANIZATION = false
+DEFAULT_ENABLE_TIMETRACKING = true
+NO_REPLY_ADDRESS = noreply.git.com.de
+
+[picture]
+DISABLE_GRAVATAR = true
+ENABLE_FEDERATED_AVATAR = false
+
+[openid]
+ENABLE_OPENID_SIGNIN = false
+ENABLE_OPENID_SIGNUP = false
+
+[session]
+PROVIDER = file
+
+[log]
+MODE = file
+LEVEL = info
+ROOT_PATH = /var/log/gitea/
+
diff --git a/README.md b/README.md
index e69de29..a4c18bd 100644
--- a/README.md
+++ b/README.md
@@ -0,0 +1,5 @@
+LibertaCasa Git Services
+
+https://git.com.de
+https://git.de.com
+https://git.casa
diff --git a/cgit/cgitrc b/cgit/cgitrc
new file mode 100644
index 0000000..7d3020c
--- /dev/null
+++ b/cgit/cgitrc
@@ -0,0 +1,63 @@
+# Enable caching of up to 1000 output entriess
+cache-size=1000
+
+# Specify some default clone prefixes
+clone-prefix=ssh://git.com.de:28/LibertaCasa
+
+# Specify the css url
+css=/cgit/cgit.css
+
+# Specify the logo url
+logo=/cgit/cgit.png
+
+# Show extra links for each repository on the index page
+enable-index-links=1
+
+# Show number of affected files per commit on the log pages
+enable-log-filecount=1
+
+# Show number of added/removed lines per commit on the log pages
+enable-log-linecount=1
+
+# Set the title and heading of the repository index page
+root-title=The LibertaCasa Project
+
+# Allow download of tar.gz, tar.bz2 and zip-files
+snapshots=tar.gz tar.bz2 zip
+
+
+##
+## List of common mimetypes
+##
+
+mimetype.git=image/git
+mimetype.html=text/html
+mimetype.jpg=image/jpeg
+mimetype.jpeg=image/jpeg
+mimetype.pdf=application/pdf
+mimetype.png=image/png
+mimetype.svg=image/svg+xml
+
+#custom
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
+virtual-root=/
+scan-path=/var/lib/git/gitea-repositories/libertacasa/
+
+##
+## List of repositories.
+## PS: Any repositories listed when section is unset will not be
+## displayed under a section heading
+## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos')
+## and included like this:
+## include=/etc/cgitrepos
+##
+
+#repo.url=libertacasa-irc
+#repo.path=/var/lib/git/gitea-repositories/libertacasa/irc.git
+#repo.desc=LibertaCasa-IRC
+#repo.owner=hello@liberta.casa
+#
+#repo.url=libertacasa-gemini
+#repo.path=/var/lib/git/gitea-repositories/libertacasa/gemini.git
+#repo.desc=LibertaCasa-Gemini
+#repo.owner=hello@liberta.casa