-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
68 lines (68 loc) · 1.92 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: fates-tutorial
services:
elmdata:
container_name: data-elm-default
image: ngeetropics/data-elm-default:latest
volumes:
- elm_inputdata:/inputdata
sitedata:
container_name: data-met_forcing-domains
image: ngeetropics/data-drivers-domains-ctrl:latest
volumes:
- bci_inventory:/bci_inventory
- site_data:/site_data
- inventory_ctrl:/inventory_ctrl
landmodel:
image: ngeetropics/elm-builds:elm_v3.0.0-fates_sci.1.76.4_api.35.1.0-latest
container_name: elm-fates
hostname: docker
user: modeluser
stdin_open: true
tty: true
volumes:
# volumes mounted to the fates-tutorial directory for user interaction
- type: bind
source: run_scripts
target: /scripts
- type: bind
source: param_files
target: /paramfiles
- type: bind
source: ${INPUT_DATA}
target: /inventorydata/userdata
# volumes that are hidden from the user directly
- modeloutput:/output
- elm_inputdata:/inputdata
- bci_inventory:/inventorydata/bci
- site_data:/sitedata
- inventory_ctrl:/inventorydata/inventory_ctrl
notebook:
image: ngeetropics/fates-tutorial-jupyter:latest
container_name: tutorial-notebook
# user: $UID
# environment:
# CHOWN_HOME: yes
# CHOWN_HOME_OPTS: "-R"
ports:
- 8888:8888
volumes:
- type: bind
source: fates-tutorial-jupyter-book/
target: /home/${NB_USER}/notebooks
- type: bind
source: run_scripts/
target: /home/${NB_USER}/scripts
- type: bind
source: param_files/
target: /home/${NB_USER}/paramfiles
- type: bind
source: inventory_data/
target: /home/${NB_USER}/inventorydata
- ${INPUT_DATA}:/home/${NB_USER}/inputdata
- modeloutput:/home/${NB_USER}/output
volumes:
modeloutput:
elm_inputdata:
site_data:
bci_inventory:
inventory_ctrl: