Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 498 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 498 Bytes

hs_postgis

A database for Hydroshare based on official images.

  1. Open port 5432 on the host's firewall to the subnets making connections.
  2. Set PGPASSWORD in .env.
  3. docker compose up -d
  4. Place a SQL dump to load into the database in /var/scratch/pg.deploy.sql on the host.
  5. ./loaddb.sh
  6. The default postgres user password is configured in two places in the Hydroshare codebase:
    1. hydroshare/hydroshare/local_settings.py
    2. hydroshare/config/hydroshare-config.yaml