Skip to content

Instantly share code, notes, and snippets.

@hasinhayder
Last active January 31, 2025 15:57
Show Gist options
  • Save hasinhayder/02ae2bda62c023d68555797363e4f846 to your computer and use it in GitHub Desktop.
Save hasinhayder/02ae2bda62c023d68555797363e4f846 to your computer and use it in GitHub Desktop.

Revisions

  1. hasinhayder revised this gist Dec 23, 2024. 1 changed file with 0 additions and 5 deletions.
    5 changes: 0 additions & 5 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@
    version: '3.1'

    services:
    mysql:
    image: mysql:8.4.3
    @@ -10,9 +8,6 @@ services:
    - ./mysql:/var/lib/mysql
    environment:
    - MYSQL_ROOT_PASSWORD=root
    - MYSQL_PASSWORD=admin
    - MYSQL_USER=admin
    - MYSQL_DATABASE=test
    - MYSQL_TCP_PORT=3306
    phpMyAdmin:
    image: phpmyadmin
  2. hasinhayder created this gist Dec 23, 2024.
    23 changes: 23 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    version: '3.1'

    services:
    mysql:
    image: mysql:8.4.3
    restart: always
    ports:
    - 3306:3306
    volumes:
    - ./mysql:/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_ARBITRARY=1