-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#UC3-Portal | ||
# UC3-Portal | ||
|
||
Download and Metadata Portal for the UNISDR-Data at https://gar.mnm-team.org | ||
|
||
# Use Docker to build and run the portal | ||
## Use Docker to build and run the portal | ||
|
||
``` | ||
$ sudo docker build -t gar-portal . | ||
$ sudo docker run -it -p 9000:8080 --name gar -e DIR='/tmp' --rm gar-portal | ||
``` | ||
# Environment Variables | ||
## Environment Variables | ||
|
||
``` | ||
-e DIR='PATH_TO_DIRECTORY' | ||
``` | ||
|
||
Use this variable with docker run to specify which directory in the container | ||
should be mounted. Be aware that due to the initial caching of file structure | ||
and sizes, the first startup may take a while. | ||
should be hosted. Be aware that due to the initial caching of file structure | ||
and sizes, the first startup may take a while for large directories. |