Skip to content

Instantly share code, notes, and snippets.

@hasinhayder
Last active January 14, 2025 09:35
Show Gist options
  • Save hasinhayder/2c3d3465a785e3a2fe5a3e08feb892e0 to your computer and use it in GitHub Desktop.
Save hasinhayder/2c3d3465a785e3a2fe5a3e08feb892e0 to your computer and use it in GitHub Desktop.

Revisions

  1. hasinhayder revised this gist Jul 3, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ services:
    image: mariadb:10.8
    restart: always
    ports:
    - 3307:3306
    - 3306:3306
    volumes:
    - ./mariadb:/var/lib/mysql
    environment:
  2. hasinhayder created this gist Jul 10, 2022.
    24 changes: 24 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    version: '3.8'

    services:
    mariadb:
    image: mariadb:10.8
    restart: always
    ports:
    - 3307:3306
    volumes:
    - ./mariadb:/var/lib/mysql
    environment:
    - MYSQL_ROOT_PASSWORD=root
    - MYSQL_PASSWORD=admin
    - MYSQL_USER=admin
    - MYSQL_DATABASE=test
    - MYSQL_TCP_PORT=3306
    phpMyAdmin:
    image: phpmyadmin
    restart: always
    ports:
    - 8080:80
    environment:
    - PMA_PORT:3307
    - PMA_ARBITRARY=1