Add deployment pipeline and clean up repo

- Add Dockerfile, docker-compose.yml, .dockerignore, .env (port 3842)
- Add Caddyfile.snippet for analytics gateway import pattern
- Add .gitea/workflows/deploy.yaml for act_runner SSH deploy
- Untrack sensitive/data files (SCPA xlsx, owners.rds)
- Add renv lockfile and infrastructure files
- Reorganize data-raw scripts and add SarasotaCounty boundary data
- Move www assets to www/images/, add docs PDFs
This commit is contained in:
2026-03-09 10:38:21 -04:00
parent 623754358b
commit 43552a937e
38 changed files with 6749 additions and 96 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
shiny:
build: .
container_name: standrews_shiny
restart: always
ports:
- "127.0.0.1:${PORT}:3838"
environment:
- SHINY_LOG_STDERR=1
volumes:
- .:/srv/shiny-server
# Prevents local renv library from shadowing the container's library
- /srv/shiny-server/renv/library
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3838/"]
interval: 1m
timeout: 10s
retries: 3