view compose/preview/usas.yml @ 24:cea023cef5b2

add usps preview compose files
author smith@nwoca.org
date Wed, 13 Jan 2016 01:19:33 +0000
parents ebeaedb20e88
children ce113c143408
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=$${DATABASE_ENV_DB_NAME}
    - DB_USER=$${DATABASE_ENV_DB_USER}
    - DB_PASS=$${DATABASE_ENV_DB_PASS}