Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geoserver #9

Merged
merged 5 commits into from Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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