Remove remaining gitea configuration
Goodbye old friend
This commit is contained in:
@ -1,95 +0,0 @@
|
||||
APP_NAME = Gitea
|
||||
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
|
||||
SSH_DOMAIN = gitea
|
||||
HTTP_PORT = 3000
|
||||
ROOT_URL = https://git.theorangeone.net/
|
||||
DISABLE_SSH = false
|
||||
SSH_PORT = 22
|
||||
SSH_LISTEN_PORT = 3022
|
||||
START_SSH_SERVER = true
|
||||
LFS_START_SERVER = true
|
||||
LFS_CONTENT_PATH = /data/git/lfs
|
||||
DOMAIN = git.theorangeone.net
|
||||
LFS_JWT_SECRET = {{ gitea.lfs_jwt_secret }}
|
||||
OFFLINE_MODE = false
|
||||
LANDING_PAGE = explore
|
||||
ENABLE_GZIP = true
|
||||
|
||||
[ui]
|
||||
EXPLORE_PAGING_NUM = 1000
|
||||
DEFAULT_THEME = gitea
|
||||
THEMES = gitea,arc-green
|
||||
|
||||
[database]
|
||||
DB_TYPE = postgres
|
||||
HOST = db:5432
|
||||
NAME = gitea
|
||||
USER = gitea
|
||||
PASSWD = gitea
|
||||
SSL_MODE = disable
|
||||
CHARSET = utf8
|
||||
LOG_SQL = false
|
||||
|
||||
[indexer]
|
||||
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
|
||||
|
||||
[session]
|
||||
PROVIDER_CONFIG = /data/gitea/sessions
|
||||
PROVIDER = file
|
||||
COOKIE_NAME = session
|
||||
COOKIE_SECURE = true
|
||||
|
||||
[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]
|
||||
LEVEL = info
|
||||
ACCESS = console
|
||||
|
||||
[security]
|
||||
INSTALL_LOCK = true
|
||||
SECRET_KEY = {{ gitea.secret_key }}
|
||||
INTERNAL_TOKEN = {{ gitea.internal_token }}
|
||||
COOKIE_USERNAME = gitea_username
|
||||
COOKIE_REMEMBER_NAME = gitea_remember
|
||||
LOGIN_REMEMBER_DAYS = 28
|
||||
|
||||
[service]
|
||||
DISABLE_REGISTRATION = true
|
||||
NO_REPLY_ADDRESS = noreply.example.org
|
||||
|
||||
[oauth2]
|
||||
JWT_SECRET = {{ gitea.jwt_secret }}
|
||||
|
||||
[mailer]
|
||||
ENABLED = false
|
||||
|
||||
[openid]
|
||||
ENABLE_OPENID_SIGNIN = false
|
||||
ENABLE_OPENID_SIGNUP = false
|
||||
|
||||
[cache]
|
||||
ADAPTER = memory
|
||||
INTERVAL = 60
|
||||
|
||||
[cron]
|
||||
RUN_AT_START = true
|
@ -1,42 +0,0 @@
|
||||
version: "2.3"
|
||||
|
||||
services:
|
||||
gitea:
|
||||
image: gitea/gitea:1.12.3
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- USER_UID={{ docker_user.id }}
|
||||
- USER_GID={{ docker_user.id }}
|
||||
ports:
|
||||
- "{{ wireguard.clients.intersect.ip }}:3022:3022"
|
||||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
- /mnt/tank/app-data/gitea:/data
|
||||
- /mnt/tank/files/repositories:/data/git
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
db:
|
||||
image: postgres:12-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /mnt/tank/dbs/postgres/gitea:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_USER=gitea
|
||||
|
||||
db-backups:
|
||||
image: prodrigestivill/postgres-backup-local:12-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /scratch/db-backups:/backups
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
- POSTGRES_HOST=db
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_USER=gitea
|
||||
- POSTGRES_DB=gitea
|
||||
- BACKUP_KEEP_MONTHS=1
|
||||
- BACKUP_KEEP_WEEKS=1
|
@ -1,7 +0,0 @@
|
||||
[[repository]]
|
||||
source = "https://git.theorangeone.net/r/infrastructure"
|
||||
destination = "https://$GITHUB_TOKEN@github.com/RealOrangeOne/infrastructure"
|
||||
|
||||
[[repository]]
|
||||
source = "https://git.theorangeone.net/r/dotfiles"
|
||||
destination = "https://$GITHUB_TOKEN@github.com/RealOrangeOne/dotfiles"
|
@ -11,7 +11,6 @@ services:
|
||||
- ./apps:/config/www/nextcloud/apps
|
||||
- ./config.php:/config/www/nextcloud/config/config.php
|
||||
- /srv/nextcloud-data/data:/data
|
||||
- /opt/gitea/repos:/repos:ro
|
||||
- /mnt/media:/content:ro
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
|
Reference in New Issue
Block a user