Compare commits

..

No commits in common. "670db289b167c066a2c2c1a3d15766b659260ddf" and "de0af51d429745d3b423d49d610c9e7c95bdcdc3" have entirely different histories.

View File

@ -46,12 +46,11 @@ services:
GITEA__database__USER: gitea GITEA__database__USER: gitea
GITEA__database__PASSWD__FILE: /run/secrets/gitea_db_password GITEA__database__PASSWD__FILE: /run/secrets/gitea_db_password
GITEA__database__SSL_MODE: disable GITEA__database__SSL_MODE: disable
GITEA__server__DOMAIN: gitea.xyslh.xyz GITEA__server__DOMAIN: localhost
GITEA__server__ROOT_URL: https://gitea.xyslh.xyz/ GITEA__server__ROOT_URL: http://localhost:13000/
GITEA__server__SSH_DOMAIN: gitea.xyslh.xyz GITEA__server__SSH_DOMAIN: localhost
GITEA__server__SSH_PORT: 2222 GITEA__server__SSH_PORT: 2223
GITEA__server__PROTOCOL: http GITEA__service__REQUIRE_SIGNIN_VIEW: "true"
GITEA__service__REQUIRE_SIGNIN_VIEW: "false"
GITEA__service__DISABLE_REGISTRATION: "true" GITEA__service__DISABLE_REGISTRATION: "true"
GITEA__security__INSTALL_LOCK: "true" GITEA__security__INSTALL_LOCK: "true"
depends_on: depends_on:
@ -64,8 +63,8 @@ services:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports:
- "13000:3000" - "127.0.0.1:13000:3000"
- "2223:22" - "127.0.0.1:2223:22"
healthcheck: healthcheck:
test: ["CMD-SHELL", "grep -Eq '^INSTALL_LOCK[[:space:]]*=[[:space:]]*true' /data/gitea/conf/app.ini && grep -Eq '^DB_TYPE[[:space:]]*=[[:space:]]*postgres' /data/gitea/conf/app.ini && wget -q --spider http://127.0.0.1:3000/api/healthz"] test: ["CMD-SHELL", "grep -Eq '^INSTALL_LOCK[[:space:]]*=[[:space:]]*true' /data/gitea/conf/app.ini && grep -Eq '^DB_TYPE[[:space:]]*=[[:space:]]*postgres' /data/gitea/conf/app.ini && wget -q --spider http://127.0.0.1:3000/api/healthz"]
interval: 5s interval: 5s