Skip to content

Commit

Permalink
Fixed yarn stop destroying the database
Browse files Browse the repository at this point in the history
We want to use `docker compose stop` instead of `docker compose down` because
otherwise we completely blow the container away and lose the state
  • Loading branch information
allouis committed Aug 1, 2024
1 parent bcc14f3 commit e4020d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "module",
"scripts": {
"dev": "docker compose up -d --no-recreate",
"stop": "docker compose down",
"stop": "docker compose stop",
"fix": "docker compose rm activitypub nginx -sf && docker compose build activitypub nginx",
"logs": "docker compose logs activitypub -f",
"test": "yarn dev && docker compose exec activitypub yarn test:all",
Expand Down

0 comments on commit e4020d5

Please sign in to comment.