---

ldsm_db_marathon_host: "
  {%- set host = groups['ldsm-db'][0] -%}
  {{- hostvars[host]['fqdn'] | default(hostvars[host]['ansible_fqdn']) -}}
"

ldsm_db_image: 'hbpmip/postgresraw'
ldsm_db_is_ready: "/bin/true"

ldsm_db_volumes:
  - containerPath: '/data'
    hostPath: "{{ ldsm_db_data_dir }}"
    mode: RW
  - containerPath: '/datasets'
    hostPath: "{{ ldsm_db_raw_data_dir }}"
    mode: RO

ldsm_db_env:
  POSTGRES_USER: "{{ ldsm_db_admin_user }}"
  POSTGRES_PASSWORD: "{{ ldsm_db_admin_password }}"
  PGDATA: '/data/pgdata'

ldsm_db_standard_research_datasets: "{{ setup_standard_research_datasets and features_from == 'ldsm-db' }}"

---

ldsm_db_marathon_host: "
  {%- set host = groups['ldsm-db'][0] -%}
  {{- hostvars[host]['fqdn'] | default(hostvars[host]['ansible_fqdn']) -}}
"

ldsm_db_image: 'hbpmip/postgresraw'
ldsm_db_is_ready: "/opt/PostgresRAW/bin/pg_isready"

ldsm_db_volumes:
  - containerPath: '/data'
    hostPath: "{{ ldsm_db_data_dir }}"
    mode: RW
  - containerPath: '/datasets'
    hostPath: "{{ ldsm_db_raw_data_dir }}"
    mode: RO

ldsm_db_env:
  POSTGRES_USER: "{{ ldsm_db_admin_user }}"
  POSTGRES_PASSWORD: "{{ ldsm_db_admin_password }}"
  PGDATA: '/data/pgdata'

ldsm_db_standard_research_datasets: "{{ setup_standard_research_datasets and features_from == 'ldsm-db' }}"

Update readiness check for PostgresRAW
Update readiness check for PostgresRAW