Skip to content

Commit 8c0af9f

Browse files
committed
Try to make /dspace/var/oai/requests immutable to replicate an error
1 parent ceb6969 commit 8c0af9f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docker/docker-compose-rest.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ services:
8787
- assetstore:/dspace/assetstore
8888
- handle_server:/dspace/handle-server
8989
- ./local.cfg:/dspace/config/local.cfg
90+
# Mount a tmpfs over the requests folder to protect it
91+
- type: tmpfs
92+
target: /dspace/var/oai/requests
93+
tmpfs:
94+
size: 67108864 # 64 MB, adjust as needed
95+
mode: 1777 # writable, sticky bit
9096
# Ensure that the database is ready BEFORE starting tomcat
9197
# 1. While a TCP connection to dspacedb port 5432 is not available, continue to sleep
9298
# 2. Then, run database migration to init database tables

0 commit comments

Comments
 (0)