Browse Source

Use a volume for postgres data in docker-compose.dev.yml

develop
Alex Mikhalev 6 years ago
parent
commit
097e5a246c
  1. 5
      docker-compose.dev.yml

5
docker-compose.dev.yml

@ -40,5 +40,10 @@ services:
image: "postgres:11" image: "postgres:11"
ports: ports:
- "5432:5432" - "5432:5432"
volumes:
- data-volume:/var/lib/postgres/data
environment: environment:
- POSTGRES_PASSWORD=8JN4w0UsN5dbjMjNvPe452P2yYOqg5PV - POSTGRES_PASSWORD=8JN4w0UsN5dbjMjNvPe452P2yYOqg5PV
volumes:
data-volume:
Loading…
Cancel
Save