view prod/usps-services.yml @ 581:fecefdafcaf3 release/2.19.0

flow: Created branch 'release/2.19.0'.
author Marc Davis <marc.davis@mcoecn.org>
date Thu, 05 Sep 2024 14:09:32 -0400
parents 9afc8cb478f6
children
line wrap: on
line source
  uspsdb:
    restart: unless-stopped
    image: docker.ssdt-ohio.org/ssdt-postgres:5
    volumes:
      - uspsdata:/var/lib/postgresql/data
    networks:
      - default
    environment:
      - DB_NAME=uspsdb
      - DB_USER=usps
      - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
  uspsapp:
    restart: unless-stopped
    image: docker.ssdt-ohio.org/usps-app:${USPS_TAG:-prod}
    depends_on:
      - uspsdb
    networks:
      default:
        aliases:
        - ${USPS_APP_HOST:-uspsapp-svr}
    environment:
      - DB_HOST=uspsdb
      - DB_NAME=uspsdb
      - DB_USER=usps
      - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
      - DB_POOL_LEAKDETECTIONTHRESHOLD=300000
      - SSL_POLICY=${SSL_POLICY:-Mozilla-Modern}
      - APPLICATION_INSTANCE_TYPE=${APPLICATION_INSTANCE_TYPE:-Production}
      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=${USAS_APP_HOST:-usasapp-svr}
      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true
      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_SERVERHOST=0.0.0.0
      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_SERVERHOSTDNSLOOKUP=false
      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_APPLICATIONID=${USPS_APPLICATIONID:- }
      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_APIKEY=${USPS_APIKEY:- }
      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_REMOTEAPPLICATIONID=${USAS_APPLICATIONID:- }
      - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_REMOTEAPIKEY=${USAS_APIKEY:- }