Skip to content

Commit

Permalink
Added 'gdp_home' to the list of persistent state dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Rehr committed Feb 25, 2025
1 parent a1a47d1 commit f2aa4bf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ initdirs: initcomposevars
mkdir -p ${PERSISTENT_ROOT}/workflows_db_home
mkdir -p ${PERSISTENT_ROOT}/workflows_home
mkdir -p ${PERSISTENT_ROOT}/user_db_home
mkdir -p ${PERSISTENT_ROOT}/gdp_home
mkdir -p ${PERSISTENT_ROOT}/user_home
mkdir -p ${PERSISTENT_ROOT}/user_settings
mkdir -p ${PERSISTENT_ROOT}/vgrid_files_home
Expand Down
23 changes: 23 additions & 0 deletions docker-compose_production_bind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ services:
- type: volume
source: user_db_home
target: /home/mig/state/user_db_home
- type: volume
source: gdp_home
target: /home/mig/state/gdp_home
- type: volume
source: vgrid_home
target: /home/mig/state/vgrid_home
Expand Down Expand Up @@ -287,6 +290,9 @@ services:
- type: volume
source: user_db_home
target: /home/mig/state/user_db_home
- type: volume
source: gdp_home
target: /home/mig/state/gdp_home
# NOTE: these vgrid helpers are not needed in openid container
#- type: volume
# source: vgrid_home
Expand Down Expand Up @@ -406,6 +412,9 @@ services:
- type: volume
source: user_db_home
target: /home/mig/state/user_db_home
- type: volume
source: gdp_home
target: /home/mig/state/gdp_home
- type: volume
source: vgrid_home
target: /home/mig/state/vgrid_home
Expand Down Expand Up @@ -524,6 +533,9 @@ services:
- type: volume
source: user_db_home
target: /home/mig/state/user_db_home
- type: volume
source: gdp_home
target: /home/mig/state/gdp_home
- type: volume
source: vgrid_home
target: /home/mig/state/vgrid_home
Expand Down Expand Up @@ -642,6 +654,9 @@ services:
- type: volume
source: user_db_home
target: /home/mig/state/user_db_home
- type: volume
source: gdp_home
target: /home/mig/state/gdp_home
- type: volume
source: vgrid_home
target: /home/mig/state/vgrid_home
Expand Down Expand Up @@ -895,6 +910,14 @@ volumes:
device: ${PERSISTENT_ROOT}/user_db_home
o: bind

gdp_home:
# Volume used to contain the migrid gdp_home
driver: local
driver_opts:
type: none
device: ${PERSISTENT_ROOT}/gdp_home
o: bind

vgrid_home:
# Volume used to contain the migrid vgrid_home
driver: local
Expand Down

0 comments on commit f2aa4bf

Please sign in to comment.