Difference between revisions of "Docker run mariadb"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} {{MariaDB}}")
 
 
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
 +
== Related ==
 +
version: "3.9"
 +
services:
 +
  db:
 +
    image: mariadb:10.11
 +
    [[restart: unless-stopped]]
 +
    environment:
 +
      MYSQL_RANDOM_ROOT_PASSWORD: "true"
 +
      MYSQL_DATABASE: "[[passbolt]]"
 +
      MYSQL_USER: "passbolt"
 +
      MYSQL_PASSWORD: "P4ssb0lt"
 +
    volumes:
 +
      - database_volume:[[/var/lib/mysql]]
  
 
+
* {{MariaDB}}
{{MariaDB}}
 

Latest revision as of 15:27, 21 February 2024

Related[edit]

version: "3.9"
services:
  db:
    image: mariadb:10.11
    restart: unless-stopped
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: "true"
      MYSQL_DATABASE: "passbolt"
      MYSQL_USER: "passbolt"
      MYSQL_PASSWORD: "P4ssb0lt"
    volumes:
      - database_volume:/var/lib/mysql

Advertising: