Skip to content

Commit

Permalink
ci(docker): #55 Mark inputs directory as read-only
Browse files Browse the repository at this point in the history
update docker-compose such that the inputs (`pacta-data`) directory is
read-only, while write is permitted for outputs

Closes: #55
  • Loading branch information
AlexAxthelm committed Feb 27, 2024
1 parent c3502ea commit 2d8ffcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ services:
- type: bind
source: ${PACTA_DATA_PATH}
target: /pacta-data/${R_CONFIG_ACTIVE}
read_only: true
- type: bind
source: ${INDICES_PREPARATION_OUTPUTS_PATH:-./outputs}
# target must be kept in sync with config.yml
target: /mnt/outputs
read_only: false

0 comments on commit 2d8ffcb

Please sign in to comment.