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