Mercurial > public > ssdt-docker
changeset 32:46e876a745d5
adjust yml files for docker neworking
author | smith@nwoca.org |
---|---|
date | Tue, 19 Jan 2016 01:46:26 +0000 |
parents | ce113c143408 |
children | 0d1d1abe035e |
files | compose/preview/usas.yml compose/preview/usps.yml |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/compose/preview/usas.yml Tue Jan 19 01:10:38 2016 +0000 +++ b/compose/preview/usas.yml Tue Jan 19 01:46:26 2016 +0000 @@ -2,6 +2,7 @@ usasdb: restart: unless-stopped image: docker.ssdt.io/ssdt-postgres:2 + hostname: database volumes: - ${PWD}/backup:/backup environment:
--- a/compose/preview/usps.yml Tue Jan 19 01:10:38 2016 +0000 +++ b/compose/preview/usps.yml Tue Jan 19 01:46:26 2016 +0000 @@ -2,6 +2,7 @@ uspsdb: restart: unless-stopped image: docker.ssdt.io/ssdt-postgres:2 + hostname: uspsdb volumes: - ${PWD}/backup:/backup environment: @@ -14,7 +15,7 @@ volumes: - ${PWD}/config:/config environment: - - DB_HOST=database + - DB_HOST=uspsdb - DB_NAME=uspsdb - DB_USER=usps - DB_PASS=uspsdefault