Skip to content

Commit

Permalink
Use local directory for mongo storage
Browse files Browse the repository at this point in the history
It should prevent them from accidentally deleting.
  • Loading branch information
simplylizz committed Feb 3, 2024
1 parent 1682834 commit 6d6a5ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ services:
image: mongo:6.0.5
restart: unless-stopped
volumes:
- mongo-data:/data
- type: bind
source: ./mongo-data
target: /data/db
wtb:
image: wtb:latest
restart: unless-stopped
Expand Down

0 comments on commit 6d6a5ec

Please sign in to comment.