Skip to content

Commit

Permalink
Add paragraph about Docker volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
akelsch committed Jul 15, 2020
1 parent 86d84b9 commit cd2b38a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,14 @@ docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
- Password: mysecretpassword

Note that the server configuration is persistent and will survive restarts.

## Troubleshooting

It is not uncommon that something goes wrong with the Docker volume of PostgreSQL so it can be helpful to recreate it from scratch (especially during development).
To do so, run the following command:

```sh
docker volume rm corona-dashboard_pgdata
```

After that, run Docker Compose and the init script to recreate all tables and data.

0 comments on commit cd2b38a

Please sign in to comment.