Initial Docker deployment setup

This commit is contained in:
kosmos committed 2026-08-24 22:54:37 +00:00
commit 47bbb5fcb4
11 files changed
+280

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
# Start a compiled program.
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 external table directory. Then, start MariaDB.
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 @@
-- The DATA DIRECTORY table definitions require this privilege.
GRANT FILE ON *.* TO 'drivershub'@'%';
FLUSH PRIVILEGES;