88 lines
5.3 KiB
Bash
88 lines
5.3 KiB
Bash
# ****************************************************************************************************
|
|
# * ______ _ _ *
|
|
# * | ____| /\ (_) | | *
|
|
# * | |__ _ _ _ __ ___ _ __ ___ __ _ _ __ / \ _ _ __ _ __ ___ _ __| |_ ___ *
|
|
# * | __|| | | | '__/ _ \| '_ \ / _ \/ _` | '_ \ / /\ \ | | '__| '_ \ / _ \| '__| __/ __| *
|
|
# * | |___| |_| | | | (_) | |_) | __/ (_| | | | | / ____ \| | | | |_) | (_) | | | |_\__ \ *
|
|
# * |______\__,_|_| \___/| .__/ \___|\__,_|_| |_| /_/ \_\_|_| | .__/ \___/|_| \__|___/ *
|
|
# * | | | | *
|
|
# * |_| |_| *
|
|
# * *
|
|
# ****************************************************************************************************
|
|
|
|
# This file is part of the European Airports Project, a free, collaborative platform of airport data
|
|
# extending beyond the official AIPs.
|
|
|
|
# Copyright (C) 2023
|
|
|
|
# Florian Meissner <florianmeissner@gmx.de>
|
|
|
|
# This program is free software: you can redistribute it and/or modify it under the
|
|
# terms of the GNU General Public License as published by the Free Software Foundation, either
|
|
# version 3 of the License, or (at your option) any later version. This program is distributed in the
|
|
# hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
# details. You should have received a copy of the GNU General Public License along with this program.
|
|
# (license.md in the root folder of this project) If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
# Docker-Compose environment file for the MariaDB serice
|
|
|
|
# Comment in the needed variables.
|
|
# For further information check:
|
|
# https://github.com/docker-library/docs/blob/master/mariadb/README.md#environment-variables
|
|
|
|
# This specifies the password that will be set for the MariaDB root superuser account.
|
|
MARIADB_ROOT_PASSWORD_FILE=/run/secrets/rootPw
|
|
|
|
#Set to a non-empty value, like yes, to allow the container to be started with a blank password for
|
|
# the root user.
|
|
# NOTE: Setting this variable to yes is not recommended unless you really know what you are doing,
|
|
# since this will leave your MariaDB instance completely unprotected, allowing anyone to gain
|
|
# complete superuser access.
|
|
#MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=yes
|
|
|
|
# Set to a non-empty value, like yes, to generate a random initial password for the root user. The
|
|
# generated root password will be printed to stdout (GENERATED ROOT PASSWORD: .....).
|
|
#MARIADB_RANDOM_ROOT_PASSWORD=yes
|
|
|
|
# This is the hostname part of the root user created. By default this is %, however it can be set
|
|
# to any default MariaDB allowed hostname component. Setting this to localhost will prevent any
|
|
# root user being accessible except via the unix socket.
|
|
#MARIADB_ROOT_HOST=
|
|
|
|
# Set MARIADB_MYSQL_LOCALHOST_USER to a non-empty value to create the mysql@locahost database user.
|
|
# This user is especially useful for a variety of health checks and backup scripts.
|
|
# The mysql@localhost user gets USAGE privileges by default. If more access is required, additional
|
|
# global privileges in the form of a comma separated list can be provided. If you are sharing a
|
|
# volume containing MariaDB's unix socket (/var/run/mysqld by default), privileges beyond USAGE can
|
|
# result in confidentiality, integrity and availability risks, so use a minimal set. See the example
|
|
# below on using Mariabackup. The healthcheck.sh script also documents the required privileges for
|
|
# each health check test.
|
|
#MARIADB_MYSQL_LOCALHOST_USER=
|
|
|
|
|
|
# This variable allows you to specify the name of a database to be created on image startup.
|
|
MARIADB_DATABASE=eaMain
|
|
|
|
# These are used in conjunction to create a new user and to set that user's password. Both user and
|
|
# password variables are required for a user to be created. This user will be granted all access
|
|
# (corresponding to GRANT ALL) to the MARIADB_DATABASE database.
|
|
# Do note that there is no need to use this mechanism to create the root superuser, that user gets
|
|
# created by default with the password specified by the MARIADB_ROOT_PASSWORD variable.
|
|
MARIADB_USER_FILE=/run/secrets/eaBackendUser
|
|
MARIADB_PASSWORD_FILE=/run/secrets/eaBackendPw
|
|
|
|
# By default, the entrypoint script automatically loads the timezone data needed for the
|
|
# CONVERT_TZ() function. If it is not needed, any non-empty value disables timezone loading.
|
|
#MARIADB_INITDB_SKIP_TZINFO=yes
|
|
|
|
# Set MARIADB_AUTO_UPGRADE to a non-empty value to have the entrypoint check whether
|
|
# mysql_upgrade/mariadb-upgrade needs to run, and if so, run the upgrade before starting the
|
|
# MariaDB server.
|
|
# Before the upgrade, a backup of the system database is created in the top of the datadir with the
|
|
# name system_mysql_backup_*.sql.zst. This backup process can be disabled with by setting
|
|
# MARIADB_DISABLE_UPGRADE_BACKUP to a non-empty value.
|
|
#MARIADB_AUTO_UPGRADE=yes
|
|
#MARIADB_DISABLE_UPGRADE_BACKUP=yes
|