Initial Docker deployment setup

This commit is contained in:
kosmos committed 2026-08-24 22:29:37 +00:00
commit 94d729ec1a
11 files changed
+285

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
# Runtime launcher for the compiled programs.
set -eu
if [ "${1:-}" = "drivershub" ]; then
shift
exec /app/drivershub "$@"
fi
if [ "${1:-}" = "bannergen" ]; then
shift
exec /app/bannergen "$@"
fi
exec "$@"
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
# Prepare the bind-mounted external table directory before MariaDB starts.
set -eu
mkdir -p /var/lib/mysqlext
chown mysql:mysql /var/lib/mysqlext
exec /usr/local/bin/docker-entrypoint.sh "$@"
+3
View File
@@ -0,0 +1,3 @@
-- Required by the upstream schema's DATA DIRECTORY table definitions.
GRANT FILE ON *.* TO 'drivershub'@'%';
FLUSH PRIVILEGES;