Skip to content

Commit

Permalink
chore: Add production-internal.yml file without nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
kaancayli committed Sep 21, 2024
1 parent cdf1d88 commit 8dd097b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions docker/pyris-production-internal.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8dd097b

Please sign in to comment.