view prod/usas-services.yml @ 371:b371970462c3 production v2.10.0

DEP-21 update update-inventory-app.sh to pull inventory-importapp image
author Matt Calmes <calmes@ssdt-ohio.org>
date Sun, 29 Aug 2021 19:09:33 -0400
parents 9dbc33d0ca96
children 9afc8cb478f6
line wrap: on
line source
  usasdb:
    restart: unless-stopped
    image: docker.ssdt.io/ssdt-postgres:5
    volumes:
      - usasdata:/var/lib/postgresql/data
    networks:
      - default
    environment:
      - DB_NAME=usasdb
      - DB_USER=usas
      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
  usasapp:
    restart: unless-stopped
    image: docker.ssdt.io/usas-app:${USAS_TAG:-prod}
    depends_on:
      - usasdb
    networks:
      default:
        aliases:
        - ${USAS_APP_HOST:-usasapp-svr}
    environment:
      - DB_HOST=usasdb
      - DB_NAME=usasdb
      - DB_USER=usas
      - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
      - DB_POOL_LEAKDETECTIONTHRESHOLD=300000
      - SSL_POLICY=${SSL_POLICY:-Mozilla-Modern}
      - APPLICATION_INSTANCE_TYPE=${APPLICATION_INSTANCE_TYPE:-Production}
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTHOST=${USPS_APP_HOST:-uspsapp-svr}
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=true
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=0.0.0.0
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOSTDNSLOOKUP=false
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_APPLICATIONID=${USAS_APPLICATIONID:- }
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_APIKEY=${USAS_APIKEY:- }
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_REMOTEAPPLICATIONID=${USPS_APPLICATIONID:- }
      - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_REMOTEAPIKEY=${USPS_APIKEY:- }