Benutzer-Werkzeuge

Webseiten-Werkzeuge


content:serverbasics:docker-mariadb
This version is outdated by a newer approved version.DiffThis version (2023/12/29 17:08) is a draft.
Approvals: 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>

content/serverbasics/docker-mariadb.1703866081.txt.gz · Zuletzt geändert: von obel1x

Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki