From 8dd097bbfcb2b4bdaa03c594968a7031a553e101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20=C3=87ayl=C4=B1?= <38523756+kaancayli@users.noreply.github.com> Date: Sat, 21 Sep 2024 14:09:04 +0200 Subject: [PATCH] chore: Add production-internal.yml file without nginx --- docker/pyris-production-internal.yml | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docker/pyris-production-internal.yml diff --git a/docker/pyris-production-internal.yml b/docker/pyris-production-internal.yml new file mode 100644 index 00000000..bd4aa04a --- /dev/null +++ b/docker/pyris-production-internal.yml @@ -0,0 +1,36 @@ +# ---------------------------------------------------------------------------------------------------------------------- +# Setup for a Pyris server suitable for internal network requests (without nginx). +# ---------------------------------------------------------------------------------------------------------------------- +# It is designed to take in environment variables for configuration, similar to the production setup. +# ---------------------------------------------------------------------------------------------------------------------- + +services: + pyris-app: + extends: + file: ./pyris.yml + service: pyris-app + image: ghcr.io/ls1intum/pyris:${PYRIS_DOCKER_TAG:-latest} + pull_policy: always + restart: unless-stopped + volumes: + - ${PYRIS_APPLICATION_YML_FILE}:/config/application.yml:ro + - ${PYRIS_LLM_CONFIG_YML_FILE}:/config/llm_config.yml:ro + ports: + - "${PYRIS_PORT:-8000}:8000" + networks: + - pyris + + weaviate: + extends: + file: ./weaviate.yml + service: weaviate + ports: + - "${WEAVIATE_PORT:-8001}:8001" + - "${WEAVIATE_GRPC_PORT:-50051}:50051" + networks: + - pyris + +networks: + pyris: + driver: "bridge" + name: pyris \ No newline at end of file