view compose/preview/usas.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 ebeaedb20e88
children 46e876a745d5
line wrap: on
line source
# base compose file for USAS preview release
usasdb:
  restart: unless-stopped
  image: docker.ssdt.io/ssdt-postgres:2
  volumes:
    - ${PWD}/backup:/backup
  environment:
    - DB_NAME=usasdb
    - DB_USER=usas
    - DB_PASS=usasdefault
usasapp:
  restart: unless-stopped
  image: docker.ssdt.io/usas-app:preview
  volumes:
    - ${PWD}/config:/config
  environment:
    - DB_HOST=database
    - DB_NAME=usasdb
    - DB_USER=usas
    - DB_PASS=usasdefault