From 5ead18ce014937eecbeecfff929f3ab8f4ddd1c5 Mon Sep 17 00:00:00 2001 From: mahdihty Date: Tue, 2 Mar 2021 12:15:21 +0330 Subject: [PATCH] add phpmyadmin --- docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index dfbf8d6..53c8d2c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,6 +35,18 @@ services: - sail healthcheck: test: ["CMD", "mysqladmin", "ping"] + myadmin: + image: 'phpmyadmin:latest' + ports: + - 8080:80 + environment: + MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}' + links: + - "mysql:db" + depends_on: + - mysql + networks: + - sail networks: sail: driver: bridge