/hs_postgis

A Hydroshare database container based on official images

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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