From 3f76237db1352f95aa9981fcda5c250c1351af1a Mon Sep 17 00:00:00 2001 From: admire Date: Sun, 19 Apr 2020 13:08:31 +0200 Subject: [PATCH] fix docker version for travis --- docker-compose.override.travis.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docker-compose.override.travis.yml b/docker-compose.override.travis.yml index c98c508..f709b8f 100644 --- a/docker-compose.override.travis.yml +++ b/docker-compose.override.travis.yml @@ -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