Skip to content

Commit

Permalink
Enhance r-api service configuration in production.yml
Browse files Browse the repository at this point in the history
Added volume binding for the r-api service to mount the local R directory to the container's /code path. This change facilitates easier access to R scripts and resources within the container, improving the development workflow and ensuring that the necessary files are available during runtime.
  • Loading branch information
jhagberg committed Jan 3, 2025
1 parent 4e41940 commit bbb3799
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ services:
r-api:
image: ghcr.io/nbisweden/herdbook_r-api:${TAG:?TAG-not-set}
container_name: r-api
volumes:
- type: bind
source: ./R
target: /code
env_file:
- ./.docker/database-variables.env
- ./.docker/r-api-variables.env
Expand Down

0 comments on commit bbb3799

Please sign in to comment.