Skip to content
Snippets Groups Projects
nshmp-netcdf.yml 506 B
Newer Older
  • Learn to ignore specific revisions
  • version: "3.7"
    
    # General deployment config
    x-app: &app
      deploy:
        restart_policy:
          condition: any
          delay: 5s
          max_attempts: 3
          window: 120s
    
        replicas: 1
    
        update_config:
          order: start-first
    
          parallelism: 1
    
      ports:
        - 8080
    
    services:
      # Deploy nshmp-netcdf with CONUS 2018 static data
    
    Clayton, Brandon Scott's avatar
    Clayton, Brandon Scott committed
      conus-2018a:
    
        <<: *app
        image: ${REGISTRY}/${CI_PROJECT_NAME}:${DATA_CONUS_2018A}
        environment:
          NSHM: CONUS_2018
    
          CONTEXT_PATH: /nshmp/ws/static/conus-2018