Advertisement
msrumon

facebook.com/groups/dockerBangladesh/posts/1076655759602927

Aug 19th, 2022 (edited)
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.57 KB | Source Code | 0 0
  1. volumes:
  2.   mariadb:
  3. services:
  4.   mariadb:
  5.     image: mariadb:latest
  6.     # restart: unless-stopped
  7.     # ports:
  8.     #   - 3307:3306
  9.     volumes:
  10.      - mariadb:/var/lib/mysql
  11.     environment:
  12.      - MYSQL_ROOT_PASSWORD=root
  13.       - MYSQL_PASSWORD=admin
  14.       - MYSQL_USER=admin
  15.       - MYSQL_DATABASE=test
  16.       # - MYSQL_TCP_PORT=3306
  17.   phpMyAdmin:
  18.     depends_on:
  19.      - mariadb
  20.     image: phpmyadmin:latest
  21.     # restart: unless-stopped
  22.     ports:
  23.      - 8080:80
  24.     environment:
  25.      # - PMA_ARBITRARY=1
  26.       - PMA_HOST=mariadb
  27.       # - PMA_PORT=3306
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement