view compose/preview/usas.yml @ 16:e882fb87199a

DEP-7: add update script. set default restart on services to unless-stopped
author smith@nwoca.org
date Sun, 27 Dec 2015 23:01:13 +0000
parents 976b754592f4
children ebeaedb20e88
line wrap: on
line source
# base compose file for USAS preview release
usasdb:
  restart: unless-stopped
  image: docker.ssdt.io/ssdt-postgres:2
  volumes:
    - ./backup:/backup
  environment:
    - DB_NAME=usasdb
    - DB_USER=usas
    - DB_PASS=usasdefault
usasapp:
  restart: unless-stopped
  image: docker.ssdt.io/usas-app:preview
  volumes:
    - ./config:/config
  environment:
    - DB_HOST=database
    - DB_NAME=$${DATABASE_ENV_DB_NAME}
    - DB_USER=$${DATABASE_ENV_DB_USER}
    - DB_PASS=$${DATABASE_ENV_DB_PASS}