view compose/preview/usps.yml @ 31:ce113c143408

set DB_* values directly instead of depending on vars from db service
author smith@nwoca.org
date Tue, 19 Jan 2016 01:10:38 +0000
parents cea023cef5b2
children 46e876a745d5
line wrap: on
line source
# base compose file for usps preview release
uspsdb:
  restart: unless-stopped
  image: docker.ssdt.io/ssdt-postgres:2
  volumes:
    - ${PWD}/backup:/backup
  environment:
    - DB_NAME=uspsdb
    - DB_USER=usps
    - DB_PASS=uspsdefault
uspsapp:
  restart: unless-stopped
  image: docker.ssdt.io/usps-app:preview
  volumes:
    - ${PWD}/config:/config
  environment:
    - DB_HOST=database
    - DB_NAME=uspsdb
    - DB_USER=usps
    - DB_PASS=uspsdefault