Skip to content

Commit 5281b62

Browse files
committed
Add section on hosting
1 parent 0fd00d0 commit 5281b62

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,26 @@ python interactive_RSE_comp_plot.py
1414

1515
After running the file dash will tell you an ip address where you GUI will be displayed.
1616
Should the port already be used please change the `dash_port` variable to a new number.
17+
18+
## Hosting
19+
20+
For hosting we package interactive_RSE_comp_plot.py into a Docker image.
21+
We mount a fixed size ext4 formatted file and use it as a volume to store the submissions, to cap the maximum used disk space.
22+
23+
The mountable file, `submissions.volume`, and the mount point, `submissions`, are created by executing
24+
25+
```
26+
sh create_volume.sh
27+
```
28+
29+
which makes sure to not override an existing file.
30+
31+
We build the Docker image and run a container based on it by executing
32+
33+
```
34+
sh build_and_start.sh
35+
```
36+
37+
This will also rebuild and restart if applicable.
38+
39+
As it is configured right now, the services is reachable on port 9000 on the host.

0 commit comments

Comments
 (0)