forked from kartoza/docker-pg-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# This is for testing on travis only | ||
# For production we recommend to rather use | ||
# image: kartoza/pg-backup | ||
# in the dbbackup service | ||
dbbackup: | ||
environment: | ||
# Postgres environment variable | ||
# Can be set to execute PG tools directly | ||
- PGHOST=db | ||
- PGUSER=docker | ||
- PGPASSWORD=docker | ||
- PGPORT=5432 | ||
|
||
version: '2.1' | ||
|
||
services: | ||
dbbackup: | ||
environment: | ||
# Postgres environment variable | ||
# Can be set to execute PG tools directly | ||
- PGHOST=db | ||
- PGUSER=docker | ||
- PGPASSWORD=docker | ||
- PGPORT=5432 |