Skip to content

Commit 27a8c10

Browse files
Run update.sh
1 parent 78dce8e commit 27a8c10

File tree

11 files changed

+172
-31
lines changed

11 files changed

+172
-31
lines changed

adminer/README.md

+26
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,32 @@ Then point your web server to port 9000 of the container.
7676

7777
Note: This exposes the FastCGI socket to the Internet. Make sure to add proper firewall rules or use a private Docker network instead to prevent a direct access.
7878

79+
### ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
80+
81+
Example `stack.yml` for `adminer`:
82+
83+
```yaml
84+
# Use root/example as user/password credentials
85+
86+
version: '3.1'
87+
88+
services:
89+
90+
adminer:
91+
image: adminer
92+
ports:
93+
- 8080:8080
94+
95+
db:
96+
image: mysql:5.6
97+
environment:
98+
MYSQL_ROOT_PASSWORD: example
99+
```
100+
101+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/adminer/stack.yml)
102+
103+
Run `docker stack deploy -c stack.yml adminer` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
104+
79105
### Loading plugins
80106

81107
This image bundles all official adminer plugins. You can find the list of plugins on GitHub: https://github.com/vrana/adminer/tree/master/plugins.

backdrop/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ WARNING:
1616

1717
# Supported tags and respective `Dockerfile` links
1818

19-
- [`1.7.0`, `1.7`, `1`, `1.7.0-apache`, `1.7-apache`, `1-apache`, `apache`, `latest` (*1/apache/Dockerfile*)](https://github.com/backdrop-ops/backdrop-docker/blob/eb1e89429700e5e457a977ce079175ed640d8cf6/1/apache/Dockerfile)
20-
- [`1.7.0-fpm`, `1.7-fpm`, `1-fpm`, `fpm` (*1/fpm/Dockerfile*)](https://github.com/backdrop-ops/backdrop-docker/blob/eb1e89429700e5e457a977ce079175ed640d8cf6/1/fpm/Dockerfile)
19+
- [`1.7.1`, `1.7`, `1`, `1.7.1-apache`, `1.7-apache`, `1-apache`, `apache`, `latest` (*1/apache/Dockerfile*)](https://github.com/backdrop-ops/backdrop-docker/blob/5243e66274cdbb1308021e440459f5ff2528a853/1/apache/Dockerfile)
20+
- [`1.7.1-fpm`, `1.7-fpm`, `1-fpm`, `fpm` (*1/fpm/Dockerfile*)](https://github.com/backdrop-ops/backdrop-docker/blob/5243e66274cdbb1308021e440459f5ff2528a853/1/fpm/Dockerfile)
2121

2222
# Quick reference
2323

drupal/README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ $ docker run --name some-drupal --link some-postgres:postgres -d \
131131
-v drupal-themes:/var/www/html/themes \
132132
```
133133

134-
## ... via [`docker-compose`](https://github.com/docker/compose)
134+
## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
135135

136-
Example `docker-compose.yml` for `drupal`:
136+
Example `stack.yml` for `drupal`:
137137

138138
```yaml
139139
# Drupal with PostgreSQL
@@ -148,7 +148,7 @@ Example `docker-compose.yml` for `drupal`:
148148
# Database password: example
149149
# ADVANCED OPTIONS; Database host: postgres
150150

151-
version: '2'
151+
version: '3.1'
152152

153153
services:
154154

@@ -173,6 +173,10 @@ services:
173173
restart: always
174174
```
175175
176+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/54359bd26c41e63c6e50ccd338b5a18d8b572c60/drupal/stack.yml)
177+
178+
Run `docker stack deploy -c stack.yml drupal` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate). When installing select `postgres` as database with the following parameters: `dbname=postgres` `user=postgres` `pass=example` `hostname=postgres`
179+
176180
## Adding additional libraries / extensions
177181

178182
This image does not provide any additional PHP extensions or other libraries, even if they are required by popular plugins. There are an infinite number of possible plugins, and they potentially require any extension PHP supports. Including every PHP extension that exists would dramatically increase the image size.

elasticsearch/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,28 @@ $ docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data elasticsearch
115115

116116
This image includes `EXPOSE 9200 9300` ([default `http.port`](http://www.elastic.co/guide/en/elasticsearch/reference/1.5/modules-http.html)), so standard container linking will make it automatically available to the linked containers.
117117

118+
## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
119+
120+
Example `stack.yml` for `elasticsearch`:
121+
122+
```yaml
123+
version: '3.1'
124+
125+
services:
126+
127+
elasticsearch:
128+
image: elasticsearch
129+
130+
kibana:
131+
image: kibana
132+
ports:
133+
- 5601:5601
134+
```
135+
136+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/elasticsearch/stack.yml)
137+
138+
Run `docker stack deploy -c stack.yml elasticsearch` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:5601`, `http://localhost:5601`, or `http://host-ip:5601` (as appropriate).
139+
118140
# Image Variants
119141

120142
The `elasticsearch` images come in many flavors, each designed for a specific use case.

erlang/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ WARNING:
1616

1717
# Supported tags and respective `Dockerfile` links
1818

19-
- [`20.0-rc2` (*20/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/60279df11f4f11abfdce15599d24ad73c1aefbe1/20/Dockerfile)
20-
- [`20.0-rc2-slim` (*20/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/60279df11f4f11abfdce15599d24ad73c1aefbe1/20/slim/Dockerfile)
21-
- [`20.0-rc2-alpine` (*20/alpine/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/60279df11f4f11abfdce15599d24ad73c1aefbe1/20/alpine/Dockerfile)
22-
- [`19.3.6`, `19.3`, `19`, `latest` (*19/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/bd4db4d454e410c92f00125ffd7b4f9db8ff6a8b/19/Dockerfile)
19+
- [`20.0`, `latest` (*20/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/8128be859f47c39473be9fa2c2ae33af28f74279/20/Dockerfile)
20+
- [`20.0-slim` (*20/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/8128be859f47c39473be9fa2c2ae33af28f74279/20/slim/Dockerfile)
21+
- [`20.0-alpine` (*20/alpine/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/8128be859f47c39473be9fa2c2ae33af28f74279/20/alpine/Dockerfile)
22+
- [`19.3.6`, `19.3`, `19` (*19/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/bd4db4d454e410c92f00125ffd7b4f9db8ff6a8b/19/Dockerfile)
2323
- [`19.3.6-slim`, `19.3-slim`, `19-slim`, `slim` (*19/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/bd4db4d454e410c92f00125ffd7b4f9db8ff6a8b/19/slim/Dockerfile)
2424
- [`18.3.4.5`, `18.3.4`, `18.3`, `18` (*18/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/1b03fdd83ec769e7962ec0dce01e25613a46dacf/18/Dockerfile)
2525
- [`18.3.4.5-slim`, `18.3.4-slim`, `18.3-slim`, `18-slim` (*18/slim/Dockerfile*)](https://github.com/c0b/docker-erlang-otp/blob/1b03fdd83ec769e7962ec0dce01e25613a46dacf/18/slim/Dockerfile)

geonetwork/README.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ If you want the data directory to live beyond restarts, or even destruction of t
100100
$ docker run --name some-geonetwork -d -p 8080:8080 -e DATA_DIR=/var/lib/geonetwork_data -v /host/geonetwork-docker:/var/lib/geonetwork_data geonetwork
101101
```
102102

103-
## ... via [`docker-compose`](https://github.com/docker/compose)
103+
## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
104104

105-
Example `docker-compose.yml` for `geonetwork`:
105+
Example `stack.yml` for `geonetwork`:
106106

107107
```yaml
108108
# GeoNetwork
@@ -112,7 +112,7 @@ Example `docker-compose.yml` for `geonetwork`:
112112
# Default user: admin
113113
# Default password: admin
114114

115-
version: '2'
115+
version: '3.1'
116116
services:
117117

118118
geonetwork:
@@ -122,10 +122,15 @@ services:
122122
environment:
123123
DATA_DIR: /var/lib/geonetwork_data
124124
volumes:
125-
- "/host/geonetwork-docker:/var/lib/geonetwork_data"
125+
- geonetwork:/var/lib/geonetwork_data
126+
127+
volumes:
128+
geonetwork:
126129
```
127130
128-
Run `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080/geonetwork` or `http://host-ip:8080/geonetwork`.
131+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/54359bd26c41e63c6e50ccd338b5a18d8b572c60/geonetwork/stack.yml)
132+
133+
Run `docker stack deploy -c stack.yml geonetwork` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080/geonetwork`, `http://localhost:8080/geonetwork`, or `http://host-ip:8080/geonetwork` (as appropriate).
129134

130135
## Default credentials
131136

joomla/README.md

+22-14
Original file line numberDiff line numberDiff line change
@@ -84,25 +84,33 @@ $ docker run --name some-joomla -e JOOMLA_DB_HOST=10.1.2.3:3306 \
8484
-e JOOMLA_DB_USER=... -e JOOMLA_DB_PASSWORD=... -d joomla
8585
```
8686

87-
## ... via [`docker-compose`](https://github.com/docker/compose)
87+
## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
8888

89-
Example `docker-compose.yml` for `joomla`:
89+
Example `stack.yml` for `joomla`:
9090

9191
```yaml
92-
joomla:
93-
image: joomla
94-
links:
95-
- joomladb:mysql
96-
ports:
97-
- 8080:80
98-
99-
joomladb:
100-
image: mysql:5.6
101-
environment:
102-
MYSQL_ROOT_PASSWORD: example
92+
version: '3.1'
93+
94+
services:
95+
joomla:
96+
image: joomla
97+
links:
98+
- joomladb:mysql
99+
ports:
100+
- 8080:80
101+
environment:
102+
JOOMLA_DB_HOST: joomladb
103+
JOOMLA_DB_PASSWORD: example
104+
105+
joomladb:
106+
image: mysql:5.6
107+
environment:
108+
MYSQL_ROOT_PASSWORD: example
103109
```
104110
105-
Run `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080`.
111+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/54359bd26c41e63c6e50ccd338b5a18d8b572c60/joomla/stack.yml)
112+
113+
Run `docker stack deploy -c stack.yml joomla` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
106114

107115
## Adding additional libraries / extensions
108116

kibana/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,28 @@ $ docker run --name some-kibana -e ELASTICSEARCH_URL=http://some-elasticsearch:9
8989

9090
Then, access it via `http://localhost:5601` or `http://host-ip:5601` in a browser.
9191

92+
## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
93+
94+
Example `stack.yml` for `kibana`:
95+
96+
```yaml
97+
version: '3.1'
98+
99+
services:
100+
101+
kibana:
102+
image: kibana
103+
ports:
104+
- 5601:5601
105+
106+
elasticsearch:
107+
image: elasticsearch
108+
```
109+
110+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/kibana/stack.yml)
111+
112+
Run `docker stack deploy -c stack.yml kibana` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:5601`, `http://localhost:5601`, or `http://host-ip:5601` (as appropriate).
113+
92114
# License
93115

94116
View [license information](https://github.com/elastic/kibana/blob/4557a6fc0ba08c5e7ac813a180179e5e2631c90a/LICENSE.md) for the software contained in this image.

mysql/README.md

+25
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,31 @@ $ docker run -it --rm mysql mysql -hsome.mysql.host -usome-mysql-user -p
9292

9393
More information about the MySQL command line client can be found in the [MySQL documentation](http://dev.mysql.com/doc/en/mysql.html)
9494

95+
## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
96+
97+
Example `stack.yml` for `mysql`:
98+
99+
```yaml
100+
# Use root/example as user/password credentials
101+
version: '3.1'
102+
103+
services:
104+
105+
db:
106+
image: mysql
107+
environment:
108+
MYSQL_ROOT_PASSWORD: example
109+
110+
adminer:
111+
image: adminer
112+
ports:
113+
- 8080:8080
114+
```
115+
116+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/mysql/stack.yml)
117+
118+
Run `docker stack deploy -c stack.yml mysql` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
119+
95120
## Container shell access and viewing MySQL logs
96121

97122
The `docker exec` command allows you to run commands inside a Docker container. The following command line will give you a bash shell inside your `mysql` container:

owncloud/README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ The [`occ` tool from upstream](https://doc.owncloud.org/server/9.0/admin_manual/
9898
$ docker exec -u www-data some-owncloud php occ status
9999
```
100100

101-
## ... via [`docker-compose`](https://github.com/docker/compose)
101+
## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
102102

103-
Example `docker-compose.yml` for `owncloud`:
103+
Example `stack.yml` for `owncloud`:
104104

105105
```yaml
106106
# ownCloud with MariaDB/MySQL
@@ -113,7 +113,7 @@ Example `docker-compose.yml` for `owncloud`:
113113
# Database name: pick any name
114114
# Database host: replace "localhost" with "mysql"
115115

116-
version: '2'
116+
version: '3.1'
117117

118118
services:
119119

@@ -128,6 +128,10 @@ services:
128128
MYSQL_ROOT_PASSWORD: example
129129
```
130130
131+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/54359bd26c41e63c6e50ccd338b5a18d8b572c60/owncloud/stack.yml)
132+
133+
Run `docker stack deploy -c stack.yml owncloud` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080/`, `http://localhost:8080/`, or `http://host-ip:8080` (as appropriate).
134+
131135
# License
132136

133137
View [license information](https://owncloud.org/contribute/agreement/) for the software contained in this image.

postgres/README.md

+25
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,31 @@ postgres=# SELECT 1;
9696

9797
```
9898

99+
## ... via [`docker stack deploy`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or [`docker-compose`](https://github.com/docker/compose)
100+
101+
Example `stack.yml` for `postgres`:
102+
103+
```yaml
104+
# Use postgres/example user/password credentials
105+
version: '3.1'
106+
107+
services:
108+
109+
db:
110+
image: postgres
111+
environment:
112+
POSTGRES_PASSWORD: example
113+
114+
adminer:
115+
image: adminer
116+
ports:
117+
- 8080:8080
118+
```
119+
120+
[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/96c08fac215f64844b9db61038a571b86534a12b/postgres/stack.yml)
121+
122+
Run `docker stack deploy -c stack.yml postgres` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
123+
99124
## Environment Variables
100125

101126
The PostgreSQL image uses several environment variables which are easy to miss. While none of the variables are required, they may significantly aid you in using the image.

0 commit comments

Comments
 (0)