From 151b7de570d557e6fe3f7464f5d43195bd9c062c Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Mon, 7 Nov 2022 16:36:22 +0100 Subject: [PATCH] Add port configuration for phpmyadmin in docker-compose.yml --- docker/.env-sample | 2 ++ docker/docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/.env-sample b/docker/.env-sample index 5b8598b..71a20d8 100644 --- a/docker/.env-sample +++ b/docker/.env-sample @@ -22,3 +22,5 @@ MYSQL_PYROS_PWD=DjangoPyros PYROS_WEBSITE_PORT=8000 # Host name HOST_NAME=localhost +# PORT PHPMYADMIN +PHPMYADMIN_PORT=8081 \ No newline at end of file diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 38dc21b..ff8491e 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -81,7 +81,7 @@ services: pyros-network: ipv4_address: 172.19.0.4 ports: - - 8081:80 + - "${PHPMYADMIN_PORT:-81}:80" # declaring volumes volumes: -- libgit2 0.21.2