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
                     - postgresql.project.internal.docker
11
                     - postgresql.project.internal.docker
12
         volumes:
12
         volumes:
13
             - ./data/postgresql/data:/var/lib/postgresql/data
13
             - ./data/postgresql/data:/var/lib/postgresql/data
14
+            - ./data/postgresql/backup:/var/lib/postgresql/backup
14
         ports:
15
         ports:
15
             - "127.0.0.1:34030:5432"
16
             - "127.0.0.1:34030:5432"
16
         env_file:
17
         env_file:

+ 1
- 1
postgresql/Dockerfile View File

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

Loading…
Cancel
Save