Document deployment problems and fix volume mounts

This commit is contained in:
2026-03-09 11:42:09 -04:00
parent 873b22ccef
commit 49bef7e835
2 changed files with 32 additions and 3 deletions

View File

@@ -8,9 +8,8 @@ services:
environment:
- SHINY_LOG_STDERR=1
volumes:
- .:/srv/shiny-server
# Prevents local renv library from shadowing the container's library
- /srv/shiny-server/renv/library
- ./data:/srv/shiny-server/data
- ./www:/srv/shiny-server/www
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3838/"]
interval: 1m