giteabot backport / giteabot (push) Canceled after 0s
giteabot / giteabot (push) Canceled after 0s
release-nightly / nightly-binary (push) Canceled after 0s
release-nightly / nightly-container (push) Canceled after 0s
release-nightly-snapcraft / build-and-publish (push) Canceled after 0s
Assisted-by: Codex:GPT-5
59 lines
2.0 KiB
YAML
59 lines
2.0 KiB
YAML
services:
|
|
gita:
|
|
build:
|
|
context: ../..
|
|
dockerfile: Dockerfile
|
|
image: roncarve/gita:1.27.2-production
|
|
container_name: gitea
|
|
hostname: git.roncarve.com
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "2222:22"
|
|
environment:
|
|
USER_UID: "1000"
|
|
USER_GID: "1000"
|
|
GITEA_WORK_DIR: /data/gita
|
|
GITEA_CUSTOM: /data/gita
|
|
GITEA____APP_NAME: Gita 代码协作平台
|
|
GITEA__database__DB_TYPE: sqlite3
|
|
GITEA__database__PATH: /data/gita/gita.db
|
|
GITEA__server__PROTOCOL: http
|
|
GITEA__server__HTTP_ADDR: 0.0.0.0
|
|
GITEA__server__HTTP_PORT: "3000"
|
|
GITEA__server__DOMAIN: git.roncarve.com
|
|
GITEA__server__SSH_DOMAIN: git.roncarve.com
|
|
GITEA__server__SSH_PORT: "2222"
|
|
GITEA__server__ROOT_URL: https://git.roncarve.com/
|
|
GITEA__security__INSTALL_LOCK: "true"
|
|
GITEA__service__DISABLE_REGISTRATION: "true"
|
|
GITEA__service__ENABLE_NOTIFY_MAIL: "true"
|
|
GITEA__service__ENABLE_PASSKEY_AUTHENTICATION: "false"
|
|
GITEA__mailer__ENABLED: "true"
|
|
GITEA__mailer__PROTOCOL: smtps
|
|
GITEA__mailer__SMTP_ADDR: smtp.qcloudmail.com
|
|
GITEA__mailer__SMTP_PORT: "465"
|
|
GITEA__mailer__FROM: '"代码协作平台-海南荣刻科技有限公司" <noreply@git.roncarve.com>'
|
|
GITEA__mailer__ENVELOPE_FROM: noreply@git.roncarve.com
|
|
GITEA__mailer__USER: noreply@git.roncarve.com
|
|
GITEA__openid__ENABLE_OPENID_SIGNIN: "false"
|
|
GITEA__openid__ENABLE_OPENID_SIGNUP: "false"
|
|
GITEA__ui__DEFAULT_THEME: gitea-light
|
|
GITEA__ui_0x2E_meta__AUTHOR: Hainan Roncarve Technology Co., Ltd.
|
|
GITEA__ui_0x2E_meta__DESCRIPTION: Gita 代码协作平台
|
|
GITEA__ui_0x2E_meta__KEYWORDS: roncarve,gita,go,git,code-collaboration
|
|
volumes:
|
|
- /opt/gita/data:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
networks:
|
|
gateway:
|
|
aliases:
|
|
- gitea
|
|
|
|
networks:
|
|
gateway:
|
|
external: true
|
|
name: gateway_gateway
|