Skip to content

Commit

Permalink
Changes for new nightly server
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Ngai committed Nov 9, 2023
1 parent 8b256fa commit fc96c31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/nightly/deploy-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ BASEDIR=/data/web/msc-pygeoapi-nightly
PYGEOAPI_GITREPO=https://github.com/geopython/pygeoapi.git
MSC_PYGEOAPI_GITREPO=https://github.com/ECCC-MSC/msc-pygeoapi.git
DAYSTOKEEP=7
export MSC_PYGEOAPI_OGC_API_URL=https://geomet-dev-21-nightly.cmc.ec.gc.ca/msc-pygeoapi/nightly/latest/
export MSC_PYGEOAPI_OGC_API_URL=https://geomet-dev-22-nightly.cmc.ec.gc.ca/msc-pygeoapi/nightly/latest/
export MSC_PYGEOAPI_ES_URL=http://localhost:9200
export MSC_PYGEOAPI_OGC_API_URL_BASEPATH=/
export MSC_PYGEOAPI_TEMPLATES=/data/web/msc-pygeoapi-nightly/latest/msc-pygeoapi/theme/templates
Expand Down
4 changes: 2 additions & 2 deletions docker/default.env
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
BASEDIR=/data/web/msc-pygeoapi-nightly
PYGEOAPI_CONFIG=${BASEDIR}/msc-pygeoapi/deploy/default/msc-pygeoapi-config.yml
PYGEOAPI_OPENAPI=${BASEDIR}/msc-pygeoapi/deploy/nightly/msc-pygeoapi-openapi.yml
# MSC_PYGEOAPI_OGC_API_URL=http://geomet-dev-21.cmc.ec.gc.ca:5089
# MSC_PYGEOAPI_OGC_API_URL=http://geomet-dev-22.cmc.ec.gc.ca:5089
# MSC_PYGEOAPI_OGC_API_URL_BASEPATH=/
MSC_PYGEOAPI_OGC_API_URL=https://geomet-dev-21-nightly.cmc.ec.gc.ca/msc-pygeoapi
MSC_PYGEOAPI_OGC_API_URL=https://geomet-dev-22-nightly.cmc.ec.gc.ca/msc-pygeoapi
MSC_PYGEOAPI_OGC_API_URL_BASEPATH=/
# MSC_PYGEOAPI_ES_USERNAME=foo
# MSC_PYGEOAPI_ES_PASSWORD=bar
Expand Down
2 changes: 1 addition & 1 deletion msc_pygeoapi/process/weather/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Fifth start pygeoapi
```bash
pygeoapi serve
```
Visit http://geomet-dev-21.cmc.ec.gc.ca:5000
Visit http://geomet-dev-22.cmc.ec.gc.ca:5000

Note: port 5000 is default port. Check `/deploy/default/msc-pygeoapi-config.yml` to double check port

Expand Down

0 comments on commit fc96c31

Please sign in to comment.