Initial Docker deployment setup
This commit is contained in:
commit
47bbb5fcb4
11 files changed
+280
No files matched your search
Executable
+15
@@ -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 "$@"
|
||||
Executable
+8
@@ -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 "$@"
|
||||
@@ -0,0 +1,3 @@
|
||||
-- The DATA DIRECTORY table definitions require this privilege.
|
||||
GRANT FILE ON *.* TO 'drivershub'@'%';
|
||||
FLUSH PRIVILEGES;
|
||||
Reference in new issue
Block a user