Switched to one config folder
This commit is contained in:
parent
7238b76eb7
commit
7c81b66ad5
@ -1,38 +0,0 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
|
||||||
postgres:
|
|
||||||
image: postgres:11
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "5432:5432"
|
|
||||||
environment:
|
|
||||||
- POSTGRES_DB=database
|
|
||||||
- POSTGRES_USER=postgres
|
|
||||||
- POSTGRES_PASSWORD=DaVinci
|
|
||||||
- TZ=America/Chicago
|
|
||||||
volumes:
|
|
||||||
- "resolve-db:/var/lib/postgresql/data"
|
|
||||||
pgbackups:
|
|
||||||
image: prodrigestivill/postgres-backup-local:11
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- "/share/(Whatever location you want backups stored):/backups"
|
|
||||||
links:
|
|
||||||
- postgres
|
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
environment:
|
|
||||||
- POSTGRES_HOST=postgres
|
|
||||||
- POSTGRES_DB=database
|
|
||||||
- POSTGRES_USER=postgres
|
|
||||||
- POSTGRES_PASSWORD=DaVinci
|
|
||||||
- POSTGRES_EXTRA_OPTS=--blobs --format=custom --quote-all-identifiers
|
|
||||||
- BACKUP_SUFFIX=.backup
|
|
||||||
- SCHEDULE=@daily
|
|
||||||
- BACKUP_KEEP_DAYS=7
|
|
||||||
- BACKUP_KEEP_WEEKS=4
|
|
||||||
- BACKUP_KEEP_MONTHS=6
|
|
||||||
- HEALTHCHECK_PORT=8080
|
|
||||||
- TZ=America/Chicago
|
|
||||||
volumes:
|
|
||||||
resolve-db:
|
|
Loading…
Reference in New Issue
Block a user