mirror of
https://github.com/garraflavatra/docker-volume-s3-backup.git
synced 2025-06-28 05:35:10 +00:00
fix compose example in readme
This commit is contained in:
@ -4,13 +4,14 @@ This project provides Docker images to periodically back up a PostgreSQL databas
|
|||||||
# Usage
|
# Usage
|
||||||
## Backup
|
## Backup
|
||||||
```yaml
|
```yaml
|
||||||
postgres:
|
services:
|
||||||
|
postgres:
|
||||||
image: postgres:13
|
image: postgres:13
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: user
|
POSTGRES_USER: user
|
||||||
POSTGRES_PASSWORD: password
|
POSTGRES_PASSWORD: password
|
||||||
|
|
||||||
pg_backup_s3:
|
backup:
|
||||||
image: eeshugerman/postgres-backup-s3:13
|
image: eeshugerman/postgres-backup-s3:13
|
||||||
environment:
|
environment:
|
||||||
SCHEDULE: '@weekly' # optional
|
SCHEDULE: '@weekly' # optional
|
||||||
|
Reference in New Issue
Block a user