浏览代码

Add suggestion on how to start Ghost in development mode (#1873)

mmf-amarcos 4 年之前
父节点
当前提交
e107b09e52
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      ghost/stack.yml

+ 2 - 0
ghost/stack.yml

@@ -19,6 +19,8 @@ services:
       database__connection__database: ghost
       # this url value is just an example, and is likely wrong for your environment!
       url: http://localhost:8080
+      # contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
+      #NODE_ENV: development
 
   db:
     image: mysql:5.7