Skip to content

Commit

Permalink
Ease selecting Postgres version for development and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bersace committed Aug 2, 2018
1 parent 23ca4df commit 3f7db2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
@@ -1,4 +1,4 @@
version: '2'
version: '3'

services:
ldap:
Expand All @@ -18,7 +18,7 @@ services:
com.dnsdock.alias: ldap.ldap2pg.docker

postgres:
image: postgres:10-alpine
image: postgres:${PGVERSION-10}-alpine
volumes:
- ./fixtures/postgres.sh:/docker-entrypoint-initdb.d/fixture.sh
labels:
Expand Down
2 changes: 1 addition & 1 deletion tests/func/docker-compose.yml
Expand Up @@ -14,7 +14,7 @@ services:
domainname: ldap2pg.docker

postgres:
image: postgres:10-alpine
image: postgres:${PGVERSION-10}-alpine

runner:
image: ${DIST-centos:7}
Expand Down

0 comments on commit 3f7db2e

Please sign in to comment.