|
@@ -163,7 +163,7 @@ version: '3.1'
|
|
|
services:
|
|
|
|
|
|
drupal:
|
|
|
- image: drupal:8.2-apache
|
|
|
+ image: drupal:8-apache
|
|
|
ports:
|
|
|
- 8080:80
|
|
|
volumes:
|
|
@@ -177,13 +177,13 @@ services:
|
|
|
restart: always
|
|
|
|
|
|
postgres:
|
|
|
- image: postgres:9.6
|
|
|
+ image: postgres:10
|
|
|
environment:
|
|
|
POSTGRES_PASSWORD: example
|
|
|
restart: always
|
|
|
```
|
|
|
|
|
|
-[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/54359bd26c41e63c6e50ccd338b5a18d8b572c60/drupal/stack.yml)
|
|
|
+[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/f81077b92e4522999836b8c5d098a103f568a431/drupal/stack.yml)
|
|
|
|
|
|
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`
|
|
|
|