Skip to content

Commit

Permalink
Update Ghost stack.yml to have persistent data (#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnomalRoil authored Dec 5, 2023
1 parent 0319f69 commit 45b7cc8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ghost/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ services:
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
volumes:
- ghost:/var/lib/ghost/content

db:
image: mysql:8.0
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
volumes:
- db:/var/lib/mysql

volumes:
ghost:
db:

0 comments on commit 45b7cc8

Please sign in to comment.