Skip to content

Commit 610abd9

Browse files
Run update.sh
1 parent ba9aaeb commit 610abd9

File tree

28 files changed

+104
-185
lines changed

28 files changed

+104
-185
lines changed

adminer/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,13 @@ Then point your web server to port 9000 of the container.
8383

8484
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.
8585

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

88-
Example `docker-compose.yml` for `adminer`:
88+
Example `compose.yaml` for `adminer`:
8989

9090
```yaml
9191
# Use root/example as user/password credentials
9292

93-
version: '3.1'
94-
9593
services:
9694

9795
adminer:
@@ -107,9 +105,7 @@ services:
107105
MYSQL_ROOT_PASSWORD: example
108106
```
109107
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/9efeec18b6b2ed232cf0fbd3914b6211e16e242c/adminer/stack.yml)
111-
112-
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).
108+
Run `docker compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080` (as appropriate).
113109

114110
### Loading plugins
115111

backdrop/README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -93,25 +93,26 @@ $ docker run --name some-backdrop \
9393
-d backdrop
9494
```
9595

96-
## ... via [Docker Compose](https://github.com/docker/compose)
96+
## ... via [`docker compose`](https://github.com/docker/compose)
9797

9898
Example `compose.yaml` for `backdrop`:
9999

100100
```yaml
101-
backdrop:
102-
image: backdrop
103-
links:
104-
- db:mysql
105-
ports:
106-
- 8080:80
107-
108-
db:
109-
image: mysql
110-
environment:
111-
MYSQL_USER: backdrop
112-
MYSQL_PASSWORD: backdrop
113-
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
114-
MYSQL_DATABASE: backdrop
101+
services:
102+
backdrop:
103+
image: backdrop
104+
links:
105+
- db:mysql
106+
ports:
107+
- 8080:80
108+
109+
db:
110+
image: mysql
111+
environment:
112+
MYSQL_USER: backdrop
113+
MYSQL_PASSWORD: backdrop
114+
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
115+
MYSQL_DATABASE: backdrop
115116
```
116117
117118
Run `docker compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080`.

bonita/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ docker run --name mydbpostgres -h <hostname> -d bonitasoft/bonita-postgres:16.4
8989

9090
This image is built from the following [GitHub repository](https://github.com/Bonitasoft-Community/bonita-database-docker/tree/main/postgres/16), which can be further adapted/customized to suit your needs.
9191

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

94-
Example `docker-compose.yml` for `bonita`:
94+
Example `compose.yaml` for `bonita`:
9595

9696
```yaml
9797
services:
@@ -127,9 +127,7 @@ services:
127127
condition: service_healthy
128128
```
129129
130-
[![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/b9ac3b631e82399477dd12a906f6bf68b3d872b3/bonita/stack.yml)
131-
132-
Run `docker stack deploy -c stack.yml bonita` (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).
130+
Run `docker compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080` (as appropriate).
133131

134132
- Replace `<hostname>` with the one used in the licence generation command
135133
- leave double `$$` untouched

drupal/README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,14 @@ $ docker run --name some-drupal --network some-network -d \
227227
drupal
228228
```
229229

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

232-
Example `docker-compose.yml` for `drupal`:
232+
Example `compose.yaml` for `drupal`:
233233

234234
```yaml
235235
# Drupal with PostgreSQL
236236
#
237237
# Access via "http://localhost:8080"
238-
# (or "http://$(docker-machine ip):8080" if using docker-machine)
239238
#
240239
# During initial Drupal setup,
241240
# Database type: PostgreSQL
@@ -244,8 +243,6 @@ Example `docker-compose.yml` for `drupal`:
244243
# Database password: example
245244
# ADVANCED OPTIONS; Database host: postgres
246245

247-
version: '3.1'
248-
249246
services:
250247

251248
drupal:
@@ -269,9 +266,7 @@ services:
269266
restart: always
270267
```
271268
272-
[![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/8b35a43795bda4f4ca1299bee2d02afe2434ee7f/drupal/stack.yml)
273-
274-
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`
269+
Run `docker compose up`, wait for it to initialize completely, and visit `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`
275270

276271
## Adding additional libraries / extensions
277272

friendica/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ The `apache` tag contains a full Friendica installation including an apache web
6969

7070
The second option is a `fpm` container. It is based on the [php-fpm](https://hub.docker.com/_/php/) image and runs a fastCGI-Process that serves your Friendica server. To use this image it must be combined with any Webserver that can proxy the http requests to the FastCGI-port of the container.
7171

72-
[![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/9417aa646ce4a26c904ce2c581ffb70e7a8f82ff/friendica/stack.yml) (Admin-E-Mail: `[email protected]`)
73-
7472
## Using the apache image
7573

7674
You need at least one other mariadb/mysql-container to link it to Friendica.

geonetwork/README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ GeoNetwork listens on port `8080`. If you want to access the container at the ho
171171
docker run --name some-geonetwork -d -p 8080:8080 geonetwork
172172
```
173173

174-
Then, if you are running docker on Linux, you may access geonetwork at http://localhost:8080/geonetwork. Otherwise, replace `localhost` by the address of your docker machine.
174+
Then, if you are running docker on Linux, you may access geonetwork at http://localhost:8080/geonetwork.
175175

176176
### Set the data directory and H2 db file
177177

@@ -215,20 +215,18 @@ docker run --name some-geonetwork -d -p 8080:8080 -e DATA_DIR=/catalogue-data/da
215215
docker run --name some-geonetwork -d -p 8080:8080 -e GN_CONFIG_PROPERTIES="-Dgeonetwork.dir=/catalogue-data" -e GEONETWORK_DB_NAME=/catalogue-data/db/gn -v /host/geonetwork-docker:/catalogue-data geonetwork
216216
```
217217

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

220-
Example `docker-compose.yml` for `geonetwork`:
220+
Example `compose.yaml` for `geonetwork`:
221221

222222
```yaml
223223
# GeoNetwork
224224
#
225-
# Access via "http://localhost:8080/geonetwork" (or "http://$(docker-machine ip):8080/geonetwork" if using docker-machine)
225+
# Access via "http://localhost:8080/geonetwork"
226226
#
227227
# Default user: admin
228228
# Default password: admin
229229
230-
version: '3.8'
231-
232230
volumes:
233231
geonetwork:
234232
esdata:
@@ -343,9 +341,7 @@ services:
343341
condition: service_healthy
344342
```
345343

346-
[![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/c36fe01925fbb3bd409b060190b7d99be5107af0/geonetwork/stack.yml)
347-
348-
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).
344+
Run `docker compose up`, wait for it to initialize completely, and visit `http://localhost:8080/geonetwork` or `http://host-ip:8080/geonetwork` (as appropriate).
349345

350346
### Default credentials
351347

ghost/README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ All Ghost configuration parameters (such as `url`) can be specified via environm
117117
$ docker run -d --name some-ghost -e NODE_ENV=development -e url=http://some-ghost.example.com ghost
118118
```
119119

120-
(There are further configuration examples in the `stack.yml` listed below.)
120+
(There are further configuration examples in the `compose.yaml` listed below.)
121121

122122
## What is the Node.js version?
123123

@@ -138,13 +138,11 @@ To run Ghost for production you'll also need to be running with MySQL 8, https,
138138

139139
The following example demonstrates some of the necessary configuration for running with MySQL. For more detail, see [Ghost's "Configuration options" documentation](https://ghost.org/docs/config/#configuration-options).
140140

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

143-
Example `docker-compose.yml` for `ghost`:
143+
Example `compose.yaml` for `ghost`:
144144

145145
```yaml
146-
version: '3.1'
147-
148146
services:
149147

150148
ghost:
@@ -179,9 +177,7 @@ volumes:
179177
db:
180178
```
181179
182-
[![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/8b35a43795bda4f4ca1299bee2d02afe2434ee7f/ghost/stack.yml)
183-
184-
Run `docker stack deploy -c stack.yml ghost` (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).
180+
Run `docker compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080` (as appropriate).
185181

186182
# Image Variants
187183

joomla/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ $ docker run --name some-joomla --network some-network -e JOOMLA_DB_HOST=10.1.2.
125125
-e JOOMLA_DB_USER=... -e JOOMLA_DB_PASSWORD=... -d joomla
126126
```
127127

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

130-
Example `docker-compose.yml` for `joomla`:
130+
Example `compose.yaml` for `joomla`:
131131

132132
```yaml
133133
services:
@@ -173,9 +173,7 @@ networks:
173173
joomla_network:
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/20d0481fba2d7a3d015932887b2257ec96b01f20/joomla/stack.yml)
177-
178-
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).
176+
Run `docker compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080` (as appropriate).
179177

180178
## Adding additional libraries / extensions
181179

krakend/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,9 @@ The configuration above assumes you have a folder structure like the following:
155155

156156
### Docker Compose example
157157

158-
Finally, a simple `docker-compose` file to start KrakenD with your API would be:
158+
Finally, a simple `docker compose` file to start KrakenD with your API would be:
159159

160160
```yaml
161-
version: "3"
162161
services:
163162
krakend:
164163
image: krakend:<version>
@@ -171,7 +170,6 @@ services:
171170
And another one that uses the flexible configuration and a custom template filename (`my_krakend.tmpl`) on each start:
172171

173172
```yaml
174-
version: "3"
175173
services:
176174
krakend:
177175
image: krakend:<version>

mariadb/README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,12 @@ $ docker run --detach --name some-mariadb --env MARIADB_RANDOM_ROOT_PASSWORD=1
103103

104104
... where the container logs will contain the generated root password.
105105

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

108-
Example `docker-compose.yml` for `mariadb`:
108+
Example `compose.yaml` for `mariadb`:
109109

110110
```yaml
111111
# Use root/example as user/password credentials
112-
version: '3.1'
113112

114113
services:
115114

@@ -126,9 +125,7 @@ services:
126125
- 8080:8080
127126
```
128127
129-
[![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/cf3a7fba4dfd134e3f7f5921b580c71e0fd8bc24/mariadb/stack.yml)
130-
131-
Run `docker stack deploy -c stack.yml mariadb` (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).
128+
Run `docker compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080` (as appropriate).
132129

133130
### Start a `mariadb` server instance with user, password and database
134131

@@ -300,7 +297,7 @@ The `-v /my/own/datadir:/var/lib/mysql:Z` part of the command mounts the `/my/ow
300297

301298
## No connections until MariaDB init completes
302299

303-
If there is no database initialized when the container starts, then a default database will be created. While this is the expected behavior, this means that it will not accept incoming connections until such initialization completes. This may cause issues when using automation tools, such as `docker-compose`, which start several containers simultaneously.
300+
If there is no database initialized when the container starts, then a default database will be created. While this is the expected behavior, this means that it will not accept incoming connections until such initialization completes. This may cause issues when using automation tools, such as `docker compose`, which start several containers simultaneously.
304301

305302
## Health/Liveness/Readiness Checking
306303

0 commit comments

Comments
 (0)