Browse Source

switched to backed up postgres

tags/v0.1.1^0
Robin Thoni 7 years ago
parent
commit
3c08509661
2 changed files with 2 additions and 1 deletions
  1. 1
    0
      docker-compose.yml
  2. 1
    1
      postgresql/Dockerfile

+ 1
- 0
docker-compose.yml View File

@@ -11,6 +11,7 @@ services:
11 11
                     - postgresql.project.internal.docker
12 12
         volumes:
13 13
             - ./data/postgresql/data:/var/lib/postgresql/data
14
+            - ./data/postgresql/backup:/var/lib/postgresql/backup
14 15
         ports:
15 16
             - "127.0.0.1:34030:5432"
16 17
         env_file:

+ 1
- 1
postgresql/Dockerfile View File

@@ -1,4 +1,4 @@
1
-FROM postgres:9.6
1
+FROM robinthoni/postgres-backup:9.6
2 2
 
3 3
 RUN rm -rf /var/log/*
4 4
 

Loading…
Cancel
Save