From 70229565d6d7069691645955e7978d2bafc849a3 Mon Sep 17 00:00:00 2001 From: Milan Malfait <38256462+milanmlft@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:22:35 +0100 Subject: [PATCH] Make shiny port configurable, so we can run multiple instances --- .env.sample | 2 ++ docker-compose.yml | 2 +- public.env.sample | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.env.sample b/.env.sample index 7cf3745..b66965b 100644 --- a/.env.sample +++ b/.env.sample @@ -1,6 +1,8 @@ ENV=test DATA_VOLUME_PATH=./data/test_data/internal +SHINY_PORT: 3838 + # For preprocessing PREPROCESS_DB_NAME= # name of the source database PREPROCESS_HOST= # host address for the source database diff --git a/docker-compose.yml b/docker-compose.yml index 7fa9118..059bcf9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -49,4 +49,4 @@ services: volumes: - ${DATA_VOLUME_PATH}:/etc/omopcat/data ports: - - 3838:3838 + - ${SHINY_PORT}:3838 diff --git a/public.env.sample b/public.env.sample index 102ce68..7e568fa 100644 --- a/public.env.sample +++ b/public.env.sample @@ -1,6 +1,8 @@ ENV=test DATA_VOLUME_PATH=./data/test_data/public +SHINY_PORT: 3839 + # For preprocessing PREPROCESS_DB_NAME= # name of the source database PREPROCESS_HOST= # host address for the source database