https://github.com/hydroshare/hs_postgis
A Hydroshare database container based on official images
https://github.com/hydroshare/hs_postgis
Last synced: about 1 month ago
JSON representation
A Hydroshare database container based on official images
- Host: GitHub
- URL: https://github.com/hydroshare/hs_postgis
- Owner: hydroshare
- License: bsd-3-clause
- Created: 2022-11-01T19:29:23.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-11-14T16:29:19.000Z (over 3 years ago)
- Last Synced: 2025-01-27T22:47:57.281Z (over 1 year ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hs_postgis
A database for Hydroshare based on official images.
1. Open port 5432 on the host's firewall to the subnets making connections.
1. Set `PGPASSWORD` in `.env`.
1. `docker compose up -d`
1. Place a SQL dump to load into the database in `/var/scratch/pg.deploy.sql` on the host.
1. `./loaddb.sh`
1. The default postgres user password is configured in two places in the Hydroshare codebase:
1. `hydroshare/hydroshare/local_settings.py`
1. `hydroshare/config/hydroshare-config.yaml`