Improved docker support

Updated README for docker
Cleaned up run and build bash scripts
This commit is contained in:
Sinipelto 2025-08-31 12:10:54 +03:00 committed by Ryan
parent a5b5fdf4d6
commit 3dd189d0f3
9 changed files with 191 additions and 149 deletions

20
mysql.env.example Normal file
View file

@ -0,0 +1,20 @@
# Prefer no and generating a strong password for the root (+ special) user
MYSQL_ALLOW_EMPTY_PASSWORD="no"
# You can change the db name also for obscurity.
# Has to be changed in the default.conf and in the global.sql init file then also.
MYSQL_DATABASE="global"
# Beware: if not using root user, the database 'global' requires granting permissions for that user
# Root user is created automatically so dont provide it here.
#MYSQL_USER="dbuser"
#MYSQL_PASSWORD="CHANGEMEIFNOTUSINGROOTANDINGLOBALCONF"
# Comment this out if you are using random root pw (below).
MYSQL_ROOT_PASSWORD="ALWAYSCHANGEMEHEREANDINGLOBALCONFIFUSINGROOT"
# Or you can use a special non-root db user and generate a random pw for the root user instead.
# To improve security
# However, either initial root user access
# or editing Server/db_exports/global.sql to add grants for 'global' to the special user above.
MYSQL_RANDOM_ROOT_PASSWORD="no"