Skip to content

Commit

Permalink
Merge pull request #9 from hammad93/geoserver
Browse files Browse the repository at this point in the history
Geoserver
  • Loading branch information
hammad93 committed Mar 26, 2024
2 parents e946835 + 668c754 commit 539d700
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,7 +6,9 @@ hurricane-live-db.key

# Repositories running in the server
hurricane-deploy/
hurricane-geoserver/
HurricaneDissertation/
wms_data/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
11 changes: 11 additions & 0 deletions docker-compose.yml
Expand Up @@ -18,5 +18,16 @@ services:
ports:
- "6006:6006"
- "6005:8888"
hurricane-geoserver:
build:
context: ./hurricane-geoserver/docker
dockerfile: Dockerfile
ports:
- "6004:8080"
environment:
- INSTALL_EXTENSIONS=true
- STABLE_EXTENSIONS=netcdf
volumes:
- ./wms_data:/opt/geoserver_data/


7 changes: 5 additions & 2 deletions run.sh
@@ -1,11 +1,14 @@
#!/bin/sh

echo "Creating wms data directory if it doesn't exist."
mkdir -p wms_data
docker image prune -f
git clone --depth 1 --single-branch --branch main https://github.com/hammad93/hurricane-deploy.git
git clone --depth 1 --single-branch --branch master https://github.com/apatel726/HurricaneDissertation.git
git clone --depth 1 --single-branch --branch main https://github.com/hammad93/hurricane-geoserver.git
cp database.key docker/
cp django_secret.key docker/
cp hurricane-live-db.key docker/
git clone --single-branch --branch main https://github.com/hammad93/hurricane-deploy.git
cp credentials.csv ./hurricane-deploy/docker/
git clone --depth 1 --single-branch --branch master https://github.com/apatel726/HurricaneDissertation.git
docker-compose build --no-cache
docker-compose up

0 comments on commit 539d700

Please sign in to comment.