From 144e713923cc2426c69ba34ad2928d349e545f73 Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Tue, 26 May 2026 00:50:51 +0800 Subject: [PATCH] fix: add missing GITEA_DB_PASSWORD env var for OPC database connection The dashboard OPC module connects to the Gitea PostgreSQL database but the deploy.yml workflow and docker run fallback were missing the GITEA_DB_PASSWORD env var, causing the container to crash on startup with password authentication failures. Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 20ca716..9796f98 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -175,6 +175,7 @@ jobs: needs: [backend-tests, frontend-tests] env: SECRET_KEY: test-secret-key-for-ci-environment-32chars-minimum + GITEA_DB_PASSWORD: ${GITEA_DB_PASSWORD} container: network: gitea_gitea options: --add-host=host.docker.internal:host-gateway --dns 192.168.31.1 --dns 8.8.8.8 @@ -278,6 +279,7 @@ jobs: -e DOCKER_HOST=tcp://docker-socket-proxy:2375 \ -e GITEA_URL=http://gitea:3000 \ -e GITEA_TOKEN=${GITEA_TOKEN} \ + -e GITEA_DB_PASSWORD=${GITEA_DB_PASSWORD} \ -e VOLUME_ROOT=/volume1 \ -e SSH_HOST=host.docker.internal \ -e SSH_USER=zjgump \