Skip to content

Commit 170a1ef

Browse files
authored
Merge pull request laradock#727 from partounian/master
Add Adminer container
2 parents 50e3d16 + 269732d commit 170a1ef

6 files changed

Lines changed: 42 additions & 1 deletion

File tree

DOCUMENTATION/_settings/content/documentation/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,23 @@ docker-compose up -d mariadb phpmyadmin
706706

707707

708708

709+
<br>
710+
<a name="Use-Adminer"></a>
711+
## Use Adminer
712+
713+
1 - Run the Adminer Container (`adminer`) with the `docker-compose up` command. Example:
714+
715+
```bash
716+
docker-compose up -d adminer
717+
```
718+
719+
2 - Open your browser and visit the localhost on port **8080**: `http://localhost:8080`
720+
721+
722+
723+
724+
725+
709726
<br>
710727
<a name="Use-pgAdmin"></a>
711728
## Use PgAdmin

DOCUMENTATION/_settings/content/getting-started/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ docker-compose up -d nginx mysql
168168

169169
You can select your own combination of containers form the list below:
170170

171-
> `nginx`, `hhvm`, `php-fpm`, `mysql`, `redis`, `postgres`, `mariadb`, `neo4j`, `mongo`, `apache2`, `caddy`, `memcached`, `beanstalkd`, `beanstalkd-console`, `rabbitmq`, `beanstalkd-console`, `workspace`, `phpmyadmin`, `aerospike`, `pgadmin`, `elasticsearch`, `rethinkdb`, `postgres-postgis`, `certbot`, `mailhog`, `minio` and more...!
171+
> `nginx`, `hhvm`, `php-fpm`, `mysql`, `redis`, `postgres`, `mariadb`, `neo4j`, `mongo`, `apache2`, `caddy`, `memcached`, `beanstalkd`, `beanstalkd-console`, `rabbitmq`, `beanstalkd-console`, `workspace`, `phpmyadmin`, `adminer`, `aerospike`, `pgadmin`, `elasticsearch`, `rethinkdb`, `postgres-postgis`, `certbot`, `mailhog`, `minio` and more...!
172172
173173
*(Please note that sometimes we forget to update the docs, so check the `docker-compose.yml` file to see an updated list of all available containers).*
174174

DOCUMENTATION/_settings/content/introduction/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ What's better than a **Demo Video**:
169169
- RabbitMQ Console
170170
- **Tools:**
171171
- PhpMyAdmin
172+
- Adminer
172173
- PgAdmin
173174
- ElasticSearch
174175
- Selenium

adminer/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM adminer:latest
2+
3+
MAINTAINER Patrick Artounian <partounian@gmail.com>
4+
5+
# Add volume for sessions to allow session persistence
6+
VOLUME /sessions
7+
8+
# We expose Adminer on port 8080 (Adminer's default)
9+
EXPOSE 8080

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,15 @@ services:
339339
depends_on:
340340
- "${PMA_DB_ENGINE}"
341341

342+
### Adminer Container ####################################
343+
344+
adminer:
345+
build: ./adminer
346+
ports:
347+
- "${ADM_PORT}:8080"
348+
depends_on:
349+
- php-fpm
350+
342351
### pgAdmin Container #######################################
343352

344353
pgadmin:
@@ -415,6 +424,8 @@ volumes:
415424
driver: "local"
416425
phpmyadmin:
417426
driver: "local"
427+
adminer:
428+
driver: "local"
418429
aerospike:
419430
driver: "local"
420431
caddy:

env-example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ PMA_PASSWORD=secret
122122
PMA_ROOT_PASSWORD=secret
123123
PMA_PORT=88
124124

125+
### Adminer Container
126+
ADM_PORT=88
127+
125128
### MISC
126129
# Replace with your Docker Host IP (will be appended to /etc/hosts)
127130
DOCKER_HOST_IP=10.0.75.1

0 commit comments

Comments
 (0)