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 <noreply@anthropic.com>
This commit is contained in:
Gan, Jimmy
2026-05-26 00:50:51 +08:00
parent 9624304bd4
commit 144e713923
+2
View File
@@ -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 \