浏览代码

Run update.sh

Docker Library Bot 5 年之前
父节点
当前提交
e7c42eb3b6
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      ghost/README.md

+ 4 - 2
ghost/README.md

@@ -144,7 +144,7 @@ version: '3.1'
 services:
 services:
 
 
   ghost:
   ghost:
-    image: ghost:1-alpine
+    image: ghost:3-alpine
     restart: always
     restart: always
     ports:
     ports:
       - 8080:2368
       - 8080:2368
@@ -155,6 +155,8 @@ services:
       database__connection__user: root
       database__connection__user: root
       database__connection__password: example
       database__connection__password: example
       database__connection__database: ghost
       database__connection__database: ghost
+      # this url value is just an example, and is likely wrong for your environment!
+      url: http://localhost:8080
 
 
   db:
   db:
     image: mysql:5.7
     image: mysql:5.7
@@ -163,7 +165,7 @@ services:
       MYSQL_ROOT_PASSWORD: example
       MYSQL_ROOT_PASSWORD: example
 ```
 ```
 
 
-[![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/e24f39cddf21560cf0a24f149059ff23640b0f16/ghost/stack.yml)
+[![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/c57e666ff4299ee6e801a9843b7f39eebfd8f2da/ghost/stack.yml)
 
 
 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).
 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).