We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 176258b commit 8d9822fCopy full SHA for 8d9822f
.dockerignore
@@ -0,0 +1 @@
1
+data
docker-compose.yml
@@ -1,12 +1,16 @@
version: '2'
2
+volumes:
3
+ pgdata:
4
+ driver: local
5
+
6
services:
7
db:
8
build: postgres-dockerfile
9
restart: unless-stopped
10
env_file:
11
- ./postgres-dockerfile/postgres.env
12
volumes:
- - /mnt/pgdata/pgdata:/var/lib/postgresql/data
13
+ - pgdata:/var/lib/postgresql/data
14
expose:
15
- "5432"
16
@@ -15,7 +19,7 @@ services:
19
ports:
20
- "5000:5000"
17
21
18
- - /datadump:/media/dbdump
22
+ - ./data/dbdump:/media/dbdump
23
24
25
0 commit comments