move gitea to forge, test dark theme
This commit is contained in:
parent
0c57aa32c6
commit
9166e3b73d
5 changed files with 20 additions and 17 deletions
|
|
@ -22,7 +22,7 @@ BGRP="bkp"
|
|||
|
||||
GCNF="/var/xyzzy/etc/gitea/app.ini"
|
||||
GBIN="/var/xyzzy/bin/gitea"
|
||||
GDATA="/var/xyzzy/gitea"
|
||||
GDATA="/var/xyzzy/forge"
|
||||
|
||||
# healthchecks.io ping URL upon success, uses curl - "none" to disable
|
||||
HCPING="none"
|
||||
|
|
|
|||
|
|
@ -27,15 +27,15 @@
|
|||
/var/xyzzy/backup/* rw,
|
||||
/var/xyzzy/bin/gitea* mrix,
|
||||
/var/xyzzy/etc/gitea/app.ini r,
|
||||
/var/xyzzy/gitea/** r,
|
||||
/var/xyzzy/gitea/data/gitea-repositories/*/*.git/hooks/* mrix,
|
||||
/var/xyzzy/gitea/data/gitea-repositories/*/*.git/hooks/*.d/* mrix,
|
||||
/var/xyzzy/forge/** r,
|
||||
/var/xyzzy/forge/data/gitea-repositories/*/*.git/hooks/* mrix,
|
||||
/var/xyzzy/forge/data/gitea-repositories/*/*.git/hooks/*.d/* mrix,
|
||||
|
||||
owner /proc/*/cpuset r,
|
||||
owner /var/xyzzy/git/.gitconfig rw,
|
||||
owner /var/xyzzy/git/.gitconfig.lock rw,
|
||||
owner /var/xyzzy/git/.ssh/* rw,
|
||||
owner /var/xyzzy/gitea/data/** rwkl,
|
||||
owner /var/xyzzy/gitea/log/* rw,
|
||||
owner /var/xyzzy/forge/data/** rwkl,
|
||||
owner /var/xyzzy/forge/log/* rw,
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,10 +15,10 @@ RestartSec=2s
|
|||
Type=simple
|
||||
User=git
|
||||
Group=git
|
||||
WorkingDirectory=/var/xyzzy/gitea/
|
||||
WorkingDirectory=/var/xyzzy/forge/
|
||||
ExecStart=/var/xyzzy/bin/gitea web --config /var/xyzzy/etc/gitea/app.ini
|
||||
Restart=always
|
||||
Environment=USER=git HOME=/var/xyzzy/git GITEA_WORK_DIR=/var/xyzzy/gitea
|
||||
Environment=USER=git HOME=/var/xyzzy/git GITEA_WORK_DIR=/var/xyzzy/forge
|
||||
Environment=PATH=/var/xyzzy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
# If you want to bind Gitea to a port below 1024, uncomment
|
||||
# the two values below, or use socket activation to pass Gitea its ports as above
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
# https://github.com/go-gitea/gitea/blob/main/custom/conf/app.example.ini
|
||||
|
||||
APP_NAME = xyzzy gitea
|
||||
APP_NAME = xyzzy forge
|
||||
RUN_USER = git
|
||||
RUN_MODE = prod
|
||||
# same as $GITEA_WORK_DIR in systemd unit env
|
||||
WORK_PATH = /var/xyzzy/gitea
|
||||
WORK_PATH = /var/xyzzy/forge
|
||||
|
||||
[ui]
|
||||
DEFAULT_THEME = arc-green
|
||||
# https://github.com/Jieiku/theme-dark-arc-gitea
|
||||
DEFAULT_THEME = dark-arc
|
||||
THEMES = gitea,dark-arc
|
||||
SHOW_USER_EMAIL = false
|
||||
AMBIGUOUS_UNICODE_DETECTION = false
|
||||
|
||||
|
|
@ -21,18 +23,18 @@ DESCRIPTION = git repositories
|
|||
[database]
|
||||
DB_TYPE = sqlite3
|
||||
HOST = 127.0.0.1:3306
|
||||
NAME = gitea
|
||||
USER = gitea
|
||||
NAME = forge
|
||||
USER = forge
|
||||
PASSWD =
|
||||
SCHEMA =
|
||||
SSL_MODE = disable
|
||||
CHARSET = utf8
|
||||
PATH = /var/xyzzy/gitea/data/gitea.db
|
||||
PATH = /var/xyzzy/forge/data/gitea.db
|
||||
LOG_SQL = false
|
||||
AUTO_MIGRATION = true
|
||||
|
||||
[repository]
|
||||
ROOT = /var/xyzzy/gitea/data/gitea-repositories
|
||||
ROOT = /var/xyzzy/forge/data/gitea-repositories
|
||||
DEFAULT_BRANCH = main
|
||||
DISABLE_STARS = true
|
||||
|
||||
|
|
@ -58,7 +60,7 @@ LANDING_PAGE = home
|
|||
|
||||
[lfs]
|
||||
STORAGE_TYPE = local
|
||||
PATH = /var/xyzzy/gitea/data/lfs
|
||||
PATH = /var/xyzzy/forge/data/lfs
|
||||
|
||||
[mailer]
|
||||
ENABLED = false
|
||||
|
|
@ -102,7 +104,7 @@ COOKIE_NAME = __Host-gitea_session
|
|||
[log]
|
||||
MODE = console
|
||||
LEVEL = critical
|
||||
ROOT_PATH = /var/xyzzy/gitea/log
|
||||
ROOT_PATH = /var/xyzzy/forge/log
|
||||
COLORIZE = false
|
||||
logger.access.MODE =
|
||||
logger.router.MODE =
|
||||
|
|
|
|||
1
gitea/custom/public/assets/css/theme-dark-arc.css
Normal file
1
gitea/custom/public/assets/css/theme-dark-arc.css
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue