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

App startup improvement #217

Merged
merged 2 commits into from
Sep 10, 2023
Merged

App startup improvement #217

merged 2 commits into from
Sep 10, 2023

Conversation

kreneskyp
Copy link
Owner

Description

Make targets that start the app were refactored to work better:

  • Single target cluster or up starts all services
  • Can now scale workers via docker-compose
WorkerScalingTest.mp4

Changes

  • refactor startup targets.
  • postgres service now uses volume to persist data when container is stopped.

How Tested

[Explain how you tested this pull request. Include any relevant steps or scripts.]

TODOs

[List any outstanding TODOs or known issues that still need to be addressed.]

- `cluster` now starts all services
- added `up` and `down` targets
- `server` and `worker` now start `cluster`
- `server` and `worker` are now a log tail
- added `worker-reset` target to reset worker easily
@kreneskyp kreneskyp merged commit ebf6c12 into master Sep 10, 2023
5 checks passed
@kreneskyp kreneskyp deleted the app_targets branch September 10, 2023 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant