view compose3/preview/usas.yml @ 118:48a6e3795a1f

DEP-12: add depends on to configuration
author smith@nwoca.org
date Thu, 04 May 2017 19:15:44 +0100
parents 40d81a3dd3cc
children 0ede2dda7d99
line wrap: on
line source
# base compose file for usas Preview release
version: "2.1"
services:
  usasdb:
    restart: unless-stopped
    image: docker.ssdt.io/ssdt-postgres:3
    environment:
      - DB_NAME=usasdb
      - DB_USER=usas
      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
  usasapp:
    restart: unless-stopped
    image: docker.ssdt.io/usas-app:preview
    depends_on:
      - usasdb
    environment:
      - DB_HOST=usasdb
      - DB_NAME=usasdb
      - DB_USER=usas
      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=uspsapp
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERDNSLOOKUP=true