From 97b334853bafaf417353708361e6a01b9b3fc525 Mon Sep 17 00:00:00 2001 From: Greg Frasco Date: Tue, 12 Nov 2024 16:49:54 -0500 Subject: [PATCH] feat: add docker compose --- comets_shinyapp_example/docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 comets_shinyapp_example/docker-compose.yml diff --git a/comets_shinyapp_example/docker-compose.yml b/comets_shinyapp_example/docker-compose.yml new file mode 100644 index 0000000..3dcd87c --- /dev/null +++ b/comets_shinyapp_example/docker-compose.yml @@ -0,0 +1,20 @@ +version: '3.9' + +services: + shiny: + build: . + #image: hicsail/comets_shinyapp:master + container_name: shiny_app + ports: + - "3838:3838" + restart: unless-stopped + postgres: + image: postgres:13 + container_name: postgres + environment: + POSTGRES_USER: shiny + POSTGRES_PASSWORD: password + POSTGRES_DB: shiny + ports: + - "5432:5432" + restart: unless-stopped \ No newline at end of file