actually fix updater git dubious ownership

This commit is contained in:
Peter Smit
2025-01-16 16:42:33 +01:00
parent 67806c4bf0
commit e848902d7e
3 changed files with 5 additions and 2 deletions

View File

@@ -1,2 +1,4 @@
GITEA_WEBHOOK_SECRET=
DOCKER_CONFIG_DIR=
DOCKER_CONFIG_DIR=
DOCKER_CONFIG_UID=
DOCKER_CONFIG_GID=

View File

@@ -1,6 +1,7 @@
services:
updater:
build: .
user: ${DOCKER_CONFIG_UID}:${DOCKER_CONFIG_GID}
ports:
- "6969:80"
env_file:

View File

@@ -1,6 +1,6 @@
<?php
error_log(date('Y-m-d H:i:s'). "\t received request from " . $_SERVER['REMOTE_ADDR']);
error_log("Received request from " . $_SERVER['REMOTE_ADDR']);
$secret_key = getenv('GITEA_WEBHOOK_SECRET');