Commit Graph

8 Commits

Author SHA1 Message Date
JimKarvo c288c85b84 fix: replace base64 content with actual shell script 2026-06-29 20:42:11 +00:00
JimKarvo aafb820299 fix: correct docker-entrypoint.sh - replace base64-encoded content with actual shell script 2026-06-29 20:39:28 +00:00
JimKarvo b706bc2338 fix: align docker-entrypoint.sh MANUAL_USER_MAPPINGS format with Go code
The entrypoint used jq to parse MANUAL_USER_MAPPINGS as JSON, but
ParseManualMappings() in Go uses "GiteaUsername:SlackID,GiteaUser2:SlackID2"
format. The mismatch caused "set -e" to kill the shell when jq failed
on non-JSON input, preventing the Go binary from ever starting.

Fix: replace jq JSON parsing with comma/colon splitting to match
the Go code's expected format.
2026-06-29 20:05:30 +00:00
JimKarvo c2c36b48eb Fix: use raw content (not base64) + single-line SQL for entrypoint 2026-06-22 10:31:52 +00:00
JimKarvo e818a8fb20 fix: create users table in entrypoint before seeding manual mappings 2026-06-22 10:21:54 +00:00
JimKarvo a1787b7b5d feat: seed manual user mappings from MANUAL_USER_MAPPINGS env var 2026-06-22 09:34:27 +00:00
JimKarvo 8438ebf48e feat: seed manual user mappings from MANUAL_USER_MAPPINGS env var 2026-06-22 09:32:54 +00:00
JimKarvo 6bf27aa40e Initial import with modified Dockerfile for env-based config generation 2026-06-22 11:56:10 +03:00