view compose/preview/usas.yml @ 14:5643072a1af9

DEP-7: formalize ssdt-utils image. add template preview usas compose file
author smith@nwoca.org
date Sun, 27 Dec 2015 19:24:12 +0000
parents
children 976b754592f4
line wrap: on
line source
# base compose file for USAS preview release
usasdb:
  restart: always
  image: docker.ssdt.io/ssdt-postgres:2
  volumes:
    - ./backup:/backup
  environment:
    - DB_NAME=usasdb
    - DB_USER=usas
    - DB_PASS=usasdefault
usasapp:
  restart: always
  image: docker.ssdt.io/usas-app:preview
  volumes:
    - ./config:/config
  links:
    - usasdb:database
  environment:
    - DB_HOST=database
    - DB_NAME=$${DATABASE_ENV_DB_NAME}
    - DB_USER=$${DATABASE_ENV_DB_USER}
    - DB_PASS=$${DATABASE_ENV_DB_PASS}