1
0

chore(deps): update gogs/gogs docker tag to v0.14.2 (#4106)

This commit is contained in:
renovate[bot]
2026-02-19 05:16:27 +00:00
committed by GitHub
parent afa6b09b37
commit 195204d7e5
2 changed files with 1 additions and 1 deletions

103
apps/gogs/0.14.2/data.yml Normal file
View File

@@ -0,0 +1,103 @@
additionalProperties:
formFields:
- default: "always"
edit: true
envKey: RESTART_POLICY
labelEn: Restart Policy
labelZh: 重启策略
label:
en: Restart Policy
zh: 重启策略
required: true
type: select
values:
- label: "一直重启"
value: "always"
- label: "除非容器被手动停止则重启"
value: "unless-stopped"
- label: "失败后重启"
value: "on-failure"
- label: "不重启"
value: "no"
- default: "40001"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: HTTP 端口
label:
en: Port
zh: HTTP 端口
required: true
rule: paramPort
type: number
- default: "30022"
edit: true
envKey: PANEL_APP_PORT_SSH
labelEn: Internal Port (External access must be enabled)
labelZh: SSH 端口 (须勾选端口外部访问)
label:
en: Internal Port (External access must be enabled)
zh: SSH 端口 (须勾选端口外部访问)
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
label:
en: Data Path
zh: 数据路径
required: true
type: text
- default: "Asia/Shanghai"
edit: true
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
label:
en: Time Zone
zh: 时区
required: true
type: text
- default: "https://github.com/gogs/gogs/tree/main/docker#container-options"
disabled: false
envKey: X1
labelEn: For detailed descriptions of environment variables, see
labelZh: 详细的环境变量说明参见
label:
en: For detailed descriptions of environment variables, see
zh: 详细的环境变量说明参见
required: false
type: text
- default: "true"
edit: true
envKey: SOCAT_LINK
labelEn: Bind linked docker container to localhost socket using socat.
labelZh: 使用 socat 将链接的 docker 容器绑定到 localhost 的套接字
label:
en: Bind linked docker container to localhost socket using socat.
zh: 使用 socat 将链接的 docker 容器绑定到 localhost 的套接字
required: false
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: "false"
edit: true
envKey: RUN_CROND
labelEn: Request crond to be run inside the container
labelZh: 请求在容器内运行 crond
label:
en: Request crond to be run inside the container
zh: 请求在容器内运行 crond
required: false
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"

View File

@@ -0,0 +1,27 @@
services:
gogs:
image: gogs/gogs:0.14.2
container_name: ${CONTAINER_NAME}
restart: ${RESTART_POLICY}
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_SSH}:22
- ${PANEL_APP_PORT_HTTP}:3000
volumes:
- ${DATA_PATH}:/data
environment:
- TZ=${TIME_ZONE}
- SOCAT_LINK=${SOCAT_LINK}
- RUN_CROND=${RUN_CROND}
# - BACKUP_INTERVAL=${BACKUP_INTERVAL}
# - BACKUP_RETENTION=${BACKUP_RETENTION}
# - BACKUP_ARG_CONFIG=${BACKUP_ARG_CONFIG}
# - BACKUP_ARG_EXCLUDE_REPOS=${BACKUP_ARG_EXCLUDE_REPOS}
# - BACKUP_EXTRA_ARGS=${BACKUP_EXTRA_ARGS}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true