Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Simplify deployment #64

Open
NeonDaniel opened this issue Jul 4, 2023 · 2 comments
Open

[FEAT] Simplify deployment #64

NeonDaniel opened this issue Jul 4, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@NeonDaniel
Copy link
Member

Objective

Document and update package to be more easily deployed (via Helm or Docker Compose).

Initial Implementation Requirements

  • Implement configuration via ovos-config like other containers to simplify config file definitions (default config can specify working defaults and user config mounted as a volume into the container)
  • Implement a docker-compose file with a MongodB container for simple local deployment

Other Considerations

  • There will likely be some special considerations to handle MongodB data persistence
  • Consider how to access conversation import/export
@NeonDaniel NeonDaniel added the enhancement New feature or request label Jul 4, 2023
@NeonKirill
Copy link
Collaborator

@NeonDaniel it is a nice idea, and I did experiments with that, but it seems like it will require much more effort then I have affordable capacity. For the reference here are some step-by-step guide in case sometime in future there will be priority on that:

  1. Implement configuration via ovos-config like other containers to simplify config file definition... [DONE]

  2. It is required to split the pyklatchat repo into at least the following 5 (can be negotiated)
  • Pyklatchat Client (link to repo)
  • Pyklatchat Utils (link to repo)
  • Pyklatchat Server (not started as of 13.09.2023)
  • Pyklatchat Services (or Pyklatchat Observer as it is the only service we are using so far)
  • Pyklatchat Mongo Service (no specific configurations so far, probably just to build image from mongo)
  1. Create docker-compose definitions in client/server/observer/mongo_service repos
  2. Consider merging definition to the Neon services stack (tbd with @NeonDaniel)

Important things to note:

  • currently there is base image definition which may be adopted somehow to distributed behavior (e.g. put it to pyklatchat utils repo)

@NeonBohdan FYI

@NeonDaniel
Copy link
Member Author

Related to NeonGeckoCom/neon-diana-utils#44

I think pyklatchat_utils may make sense to be rolled into a submodule of neon-utils; that could simplify the build process for the containers by making common modules importable without the current directory copying the Docker scripts do. From there I don't know if separating server/client/observer creates more work to maintain compatibility at this stage or if the API is stable enough to split those out to separate packages

@NeonDaniel NeonDaniel added the help wanted Extra attention is needed label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants