view compose/preview/usas.yml @ 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
line wrap: on
line source
# base compose file for USAS preview release
usasdb:
  restart: unless-stopped
  image: docker.ssdt.io/ssdt-postgres:2
  hostname: database
  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