-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add production-internal.yml file without nginx
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |