Browse Source

volume to file system

master
Ignacio Falco 4 years ago
parent
commit
7b8a665401
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      docker-compose.yml

+ 1
- 2
docker-compose.yml View File

@@ -1,7 +1,6 @@
1 1
 version: '3'
2 2
 
3 3
 volumes:
4
-  postgres-data:
5 4
   redis-data:
6 5
 
7 6
 services:
@@ -12,7 +11,7 @@ services:
12 11
     ports:
13 12
       - "127.0.0:5432:5432"
14 13
     volumes:
15
-      - postgres-data:/var/lib/postgresql/data
14
+      - ./db:/var/lib/postgresql/data
16 15
     environment:
17 16
       - POSTGRES_USER=${POSTGRES_USER:-postgres}
18 17
       - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-password}

Loading…
Cancel
Save