Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 09dc4c3

Browse files
tbalmblaschke
authored andcommitted
[FEATURE] Preset mysql server on pma login screen (#175)
Preset the default hostname of the mysql container by using the PMA_HOSTS environment variable. This avoids manually entering the server ('mysql' by default) on the phpmyadmin login screen. There will be a selectbox on the login screen to choose a server from, if multiple servers are given (comma separated) to the PMA_HOSTS env var.
1 parent 0b2281c commit 09dc4c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎docker-compose.development-reverse-proxy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ services:
183183
# links:
184184
# - mysql
185185
# environment:
186-
# - PMA_ARBITRARY=1
186+
# - PMA_HOSTS=mysql
187187
# - VIRTUAL_HOST=pma.boilerplate.docker
188188
# - VIRTUAL_PORT=80
189189
# volumes:

‎docker-compose.development.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ services:
183183
# links:
184184
# - mysql
185185
# environment:
186-
# - PMA_ARBITRARY=1
186+
# - PMA_HOSTS=mysql
187187
# - VIRTUAL_HOST=pma.boilerplate.docker
188188
# - VIRTUAL_PORT=80
189189
# volumes:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /