add app.ini template + logo location

master
greglebreton 2 years ago
parent 0db5de0eea
commit a27c37557b
  1. 2
      README.md
  2. 2
      gitea/.env
  3. 94
      gitea/gitea/conf/app.ini.template
  4. 0
      gitea/gitea/public/img/logo.pnp-goes-here

@ -74,6 +74,8 @@ DEFAULT_THEME = gitea
> Pour le SSO, aller dans les la partie administration du site sur gitea, onglet source d'authentification et ajouter une source d'authentification (pour keycloak: https://adresse-du-keycloak/auth/realms/gregan/.well-known/openid-configuration) > Pour le SSO, aller dans les la partie administration du site sur gitea, onglet source d'authentification et ajouter une source d'authentification (pour keycloak: https://adresse-du-keycloak/auth/realms/gregan/.well-known/openid-configuration)
- Le logo et le favicon du site est à mettre dans gitea/gitea/public/img/
## TO DO ## TO DO
- [ ] Config all via .env - [ ] Config all via .env

@ -7,4 +7,4 @@ POSTGRES_PASSWORD=password
GITEA_SSH_PORT=2222 GITEA_SSH_PORT=2222
ROOT_URL="https://git.mondomaine.tld" ROOT_URL="https://git.mondomaine.tld"
SSH_DOMAIN="git.mondomaine.tld" SSH_DOMAIN="git.mondomaine.tld"
DOMAIN="git.mondomaine.tld" DOMAIN="git.mondomaine.tld"

@ -0,0 +1,94 @@
APP_NAME = mondomaine
RUN_MODE = prod
RUN_USER = git
[repository]
ROOT = /data/git/repositories
[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
[repository.upload]
TEMP_PATH = /data/gitea/uploads
[server]
APP_DATA_PATH = /data/gitea
DOMAIN = git.mondomaine.tld
SSH_DOMAIN = git.mondomaine.tld
HTTP_PORT = 3000
ROOT_URL = https://git.mondomaine.tld/
DISABLE_SSH = false
SSH_PORT = 22
SSH_LISTEN_PORT = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = /data/git/lfs
LFS_JWT_SECRET = bmMQG_kni1-n-cPXpXbD8fUwZUI-AGn1mOgF3cGEdaI
OFFLINE_MODE = false
LANDING_PAGE = explore
[database]
PATH = /data/gitea/gitea.db
DB_TYPE = postgres
HOST = gitea-db:5432
NAME = gitea
USER = gitea
PASSWD = Passw0rd
LOG_SQL = false
SCHEMA =
SSL_MODE = disable
CHARSET = utf8
[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
[session]
PROVIDER_CONFIG = /data/gitea/sessions
PROVIDER = file
[picture]
AVATAR_UPLOAD_PATH = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = true
[attachment]
PATH = /data/gitea/attachments
[log]
MODE = console
LEVEL = info
ROUTER = console
ROOT_PATH = /data/gitea/log
[security]
INSTALL_LOCK = true
SECRET_KEY =
REVERSE_PROXY_LIMIT = 1
REVERSE_PROXY_TRUSTED_PROXIES = *
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2NTc5MTg4NTZ9.Ob5qOZXcYvy1-NAwGiRYbyrZGT9Tpi2hIdcYXJrFHPw
PASSWORD_HASH_ALGO = pbkdf2
[service]
DISABLE_REGISTRATION = true
REQUIRE_SIGNIN_VIEW = false
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = true
ENABLE_CAPTCHA = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.localhost
[mailer]
ENABLED = false
[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true
[oauth2_client]
ENABLE_AUTO_REGISTRATION = true
[ui]
THEMES = gitea,arc-green,github,matrix,tangerine-dream,earl-grey
DEFAULT_THEME = gitea
Loading…
Cancel
Save