Skip to content

Commit

Permalink
Document ADMINER_DEFAULT_SERVER
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWolla committed May 5, 2018
1 parent 49cbbb8 commit 513a14c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions adminer/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ $ docker run --link some_database:db -p 8080:8080 -e ADMINER_DESIGN='nette' %%IM

To use a custom design you can add a file called `/var/www/html/adminer.css`.

### Usage with external server

You can specify the default host with the `ADMINER_DEFAULT_SERVER` environment variable. This is useful if you are connecting to an external server or a docker container named something other than the default `db`.

```console
docker run -p 8080:8080 -e ADMINER_DEFAULT_SERVER=mysql %%IMAGE%%
```

## Supported Drivers

While Adminer supports a wide range of database drivers this image only supports the following out of the box:
Expand Down

0 comments on commit 513a14c

Please sign in to comment.