Skip to content

Commit 45b7cc8

Browse files
authored
Update Ghost stack.yml to have persistent data (#2370)
1 parent 0319f69 commit 45b7cc8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ghost/stack.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,17 @@ services:
1818
url: http://localhost:8080
1919
# 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)
2020
#NODE_ENV: development
21+
volumes:
22+
- ghost:/var/lib/ghost/content
2123

2224
db:
2325
image: mysql:8.0
2426
restart: always
2527
environment:
2628
MYSQL_ROOT_PASSWORD: example
29+
volumes:
30+
- db:/var/lib/mysql
31+
32+
volumes:
33+
ghost:
34+
db:

0 commit comments

Comments
 (0)