|
|
@@ -121,8 +121,6 @@ Currently, this is supported for `WORDPRESS_DB_HOST`, `WORDPRESS_DB_USER`, `WORD
|
|
|
Example `docker-compose.yml` for `wordpress`:
|
|
|
|
|
|
```yaml
|
|
|
-version: '3.1'
|
|
|
-
|
|
|
services:
|
|
|
|
|
|
wordpress:
|
|
|
@@ -154,7 +152,7 @@ volumes:
|
|
|
db:
|
|
|
```
|
|
|
|
|
|
-[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/8b35a43795bda4f4ca1299bee2d02afe2434ee7f/wordpress/stack.yml)
|
|
|
+[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/0df0475ce5ccee41cd3faeaa68bf386da9718029/wordpress/stack.yml)
|
|
|
|
|
|
Run `docker stack deploy -c stack.yml wordpress` (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).
|
|
|
|