File tree Expand file tree Collapse file tree 4 files changed +16
-14
lines changed
Expand file tree Collapse file tree 4 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 1+ # Postgres Database
2+ POSTGRES_HOST = database
3+ POSTGRES_PORT = 5432
4+ POSTGRES_DB = reference
5+ POSTGRES_USER = root
6+ POSTGRES_PASSWORD = password
7+
8+ # Hydroshare credentials
9+ HYDRO_USERNAME = user
10+ HYDRO_PASSWORD = password
11+ HYDRO_RESOURCE = 3295a17b4cc24d34bd6a5c5aaf753c50
Original file line number Diff line number Diff line change 8080 - shell : bash
8181 run : docker exec hydrodump hydrodump run
8282 - shell : bash
83- run : docker exec database pg_dump --clean --if-exists | gzip > ${{ inputs.db }}.sql.gz
83+ run : |
84+ docker exec database pg_dump --clean --if-exists | gzip > ${{ inputs.db }}.sql.gz
Original file line number Diff line number Diff line change 22#
33# Authors: Benjamin Webb <bwebb@lincolninst.edu>
44#
5- # Copyright (c) 2022 Benjamin Webb
5+ # Copyright (c) 2025 Benjamin Webb
66#
77# Permission is hereby granted, free of charge, to any person
88# obtaining a copy of this software and associated documentation
2626# OTHER DEALINGS IN THE SOFTWARE.
2727#
2828# =================================================================
29-
30- version : ' 3'
31-
3229services :
3330 hydrodump :
3431 container_name : hydrodump
@@ -50,21 +47,14 @@ services:
5047 - database
5148
5249 database :
53- container_name : database
50+ container_name : $POSTGRES_HOST
5451 image : postgis/postgis:14-3.2-alpine
5552 volumes :
5653 - ./data:/data
5754 environment :
58- - POSTGRES_HOST=$POSTGRES_HOST
5955 - POSTGRES_PORT=$POSTGRES_PORT
6056 - POSTGRES_DB=$POSTGRES_DB
61- - PGDATABASE=$POSTGRES_DB
6257 - POSTGRES_USER=$POSTGRES_USER
63- - PGUSER=$POSTGRES_USER
6458 - POSTGRES_PASSWORD=$POSTGRES_PASSWORD
65- - PGPASSWORD=$POSTGRES_PASSWORD
66- - HYDRO_USERNAME=$HYDRO_USERNAME
67- - HYDRO_PASSWORD=$HYDRO_PASSWORD
68- - HYDRO_RESOURCE=$HYDRO_RESOURCE
6959 ports :
7060 - 5432:5432
Original file line number Diff line number Diff line change 11click
22hsclient
3- pydantic < 2
3+ pydantic
44# GDAL>=3.0.0
You can’t perform that action at this time.
0 commit comments