Skip to content

Commit

Permalink
Keep db data in persistent docker volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippluca committed Feb 8, 2024
1 parent 39d1c4b commit a5c044f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
shm_size: '512mb'
volumes:
- ./db:/docker-entrypoint-initdb.d
- postgis-data:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
Expand Down Expand Up @@ -151,3 +152,8 @@ services:
volumes:
- ./config/oidc-mock-clients.json:/tmp/config/clients-config.json:ro
- ./config/oidc-mock-users.json:/tmp/config/users-config.json:ro

volumes:
postgis-data:


0 comments on commit a5c044f

Please sign in to comment.