dockers/freechat-pipeline/entrypoint.sh
shockrah a594dcb558 + Adding mysql to a pipeline specific Freechat docker build
! It's also super jank at the moment so it's not exactly what I would call "stable"
Like seriously right now the entrypoint script basically just yeets mysql to the
background and snuffs out its logs for the sake of brevity
More work needs to be done in order to make sure that the sample user can be
safely added to the mysql backend. None of this is being done a safe fashion and
frankyl thats ok.

Security NOTE: No effort is put forth to make this Docker image secure since it
is meant to have bogus data, bogus users, and mock everything so again never use this
for production.
2021-04-29 17:10:17 -07:00

8 lines
112 B
Bash
Executable File

#!/bin/bash
echo Starting mysql server in background
mysqld --user=root --daemonize&
echo Starting shell
bash