Add environment configuration and enhance Shiny app with AWS integration

This commit is contained in:
Dom
2026-02-08 14:04:42 +00:00
parent 3873cb7b3f
commit b35394c569
6 changed files with 691 additions and 31 deletions

View File

@@ -5,9 +5,28 @@ services:
restart: unless-stopped
environment:
CONFIG_YAML: /app/config.yaml
DEBUG: "1"
DEBUG: "0"
ports:
- "5678:5678"
volumes:
- ./:/app
- ./config.yaml:/app/config.yaml:ro
melesicu_shiny:
build: ./shiny-app
container_name: melesicu_shiny
restart: unless-stopped
environment:
PG_DSN: ${PG_DSN}
S3_BUCKET: ${S3_BUCKET}
ENTRANCE_PREFIX: "icu/entrance/"
PROCESSED_PREFIX: "icu/processed/"
THUMB_PREFIX: "icu/thumbnails/"
INVENTORY_TABLE: "cam_inventory"
DEPLOYMENT_TABLE: "cam_deployments"
AWS_ACCESS_KEY_ID: ${S3_ACCESS_KEY}
AWS_SECRET_ACCESS_KEY: ${S3_SECRET_KEY}
AWS_DEFAULT_REGION: "us-east-1"
AWS_S3_ENDPOINT: ${S3_ENDPOINT}
AWS_S3_ENDPOINT_URL: ${S3_ENDPOINT}
ports:
- "3838:3838"