view compose/preview/usas.yml @ 47:a0283d218ff5

handle training instances with prefix in directory name. use docker-compose.yml as template instead of linking. set application property to reduce memory requirements
author smith@nwoca.org
date Thu, 04 Feb 2016 22:39:09 +0000
parents 0d1d1abe035e
children 5fae3adac2af
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