
Überprüfungen: 0/1
Dies ist eine alte Version des Dokuments!
Docker: MariaDB
This Guide will briefly show how to setup MariaDB on Docker in rootless- mode as written here https://obel1x.de/dokuwiki/doku.php?id=content:serverbasics:docker|
Note that this will NOT work out of the Box right now, see this bug here: https://github.com/phpmyadmin/docker/issues/187#issuecomment-1872177089 Currently you need to change the file docker-entrypoint.sh manually after downloading the images.
Yaml and .env
i created the directory /srv/docker-compose/mariadb
and put the following files and content in it:
.env
<code>
#Allgemeine Einstellungen für docker/mariadb
COMPOSE_HTTP_TIMEOUT=180
#Diese Variabeln hier sind ganz anders, als die env-files: sie können als parameter in der yaml verwendet werden, nicht so die .env-files der dienste #vgl: # .env file which is used for variable substitution in the docker-compose.yaml file, and should resolve when you run docker-compose config # env_file element in a service definition, which is just setting the environment file to send to docker engine when starting container, as a definition of runtime environment. Compose will not parse this file which is opaque to him. # #Also die globalen Werte müssen hier rein! #Mariadb immer dreistellig, möglichst stable MARIADB_TAG=11.2.2
</file>