Skip to content

[ChatLSE] Deployment Procedure #47

@Mayazure

Description

@Mayazure

This is a follow-up of issue #40

For Rizzie server and services

  • Create a chatlse group on the server and add relevant users to the group.
  • Create folders to store project data, including docker data and static files for frontend app. Add permission to chatlse group.
  • Recreate the Postgres and Ollama container using the new data folders.
  • Create a new production instance of Postgres container. Set a special PORT number for this instance. The previous instance with default PORT number 5432 should be used as the testing instance.
  • Write a docker-compose file to manage all services

For FastAPI APP

  • Rewrite pyproject.toml and requirement.txt to lock dependencies.
  • Figure out how to setup environment variables for deployment (write a start script)

For documentation

  • Data location of Ollama and Postgres
  • How to build installable Python package of the FastAPI APP
  • How to build static files for frontend app
  • How/where to upload built package and files to Rizzie

Testing environment

  • We should also create a testing environment for the entire setup.

Ollama configurations

Check this: ollama/ollama#2146

  • We need to figure out how to keep model in memory when using Ollama.

Metadata

Metadata

Assignees

Labels

automation 🦾Scripts to automate tasks, whether on Github or locally on your computer.documentation 📖Add or update documentation

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions