Skip to content

Commit

Permalink
ci(docker): remove database volume
Browse files Browse the repository at this point in the history
Finally found in Azure the message "Custom storage volume(s) failed to initialize"; this removes the database volume
to see if it resolves the problem.

This does mean there's no mechanism to persist data between deploys, but given it's a development environment that's the
behaviour I'd expect.

Refs #390
  • Loading branch information
thewilkybarkid committed Jul 26, 2021
1 parent 1d511b0 commit 3de57cd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions deploy/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,13 @@ services:

prereview-db:
image: postgres:12-alpine
volumes:
- prereview-db_data:/var/lib/postgresql/data
networks:
- prereview-private
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: prereview
POSTGRES_PASSWORD: ${PREREVIEW_DB_PASS}
POSTGRES_DB: prereview

volumes:
prereview-db_data: {}

networks:
prereview-private:
internal: true
Expand Down

0 comments on commit 3de57cd

Please sign in to comment.