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:
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user