-
Notifications
You must be signed in to change notification settings - Fork 14
/
adminerDocker.md
54 lines (43 loc) · 1.65 KB
/
adminerDocker.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Adminer Docker
Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Elasticsearch, MongoDB and others via plugin.
## Demo
- [Adminer Online demo](https://demo.adminer.org/adminer.php)
- [Adminer Editor Online demo](https://demo.adminer.org/editor.php?username=)
## Docker
```sh
docker run --link some_database:db -p 8080:8080 adminer
docker run -d --name adminer -p 8080:8080 adminer
```
[http://localhost:8080/](http://localhost:8080/)
## Docker Compose
```
version: '3.1'
services:
adminer:
image: adminer
restart: always
ports:
- 8080:8080
db:
image: mysql:5.6
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
```
## Choosing a design
```sh
docker run --link some_database:db -p 8080:8080 -e ADMINER_DESIGN='nette' adminer
docker run -d --name adminer -p 8080:8080 -e ADMINER_DESIGN='nette' adminer
# https://github.com/vrana/adminer/tree/master/designs/lucas-sandery/adminer.css
docker cp adminer.css adminer:/var/www/html
```
## Screenshots
![](https://www.adminer.org/static/screenshots/auth.png)
![](https://www.adminer.org/static/screenshots/db.png)
![](https://www.adminer.org/static/screenshots/table.png)
![](https://www.adminer.org/static/designs/lucas-sandery/screenshot.png)
![](https://www.adminer.org/static/designs/pepa-linha-dark/screenshot.png)
## References
- [Adminer](https://www.adminer.org/)
- [Adminer GitHub](https://github.com/vrana/adminer)
- [Adminer Docker](https://hub.docker.com/_/adminer)