-
Notifications
You must be signed in to change notification settings - Fork 903
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
fix: Fix deployment docker compose and move temporal into separate service #471
Conversation
…rvice Signed-off-by: Diwank Tomer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Reviewed everything up to c0c9739 in 31 seconds
More details
- Looked at
363
lines of code in10
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. llm-proxy/docker-compose.yml:33
- Draft comment:
The port mapping forlitellm-db
has been changed from5432:5432
to15432:5432
. Ensure that any services depending on this database are updated to connect to the new port15432
. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable:
The comment is about a change made in the diff, specifically the port mapping for the 'litellm-db' service. However, the comment suggests ensuring that dependent services are updated, which is speculative and not actionable. The comment does not directly suggest a code change but rather a configuration update outside the scope of this file.
The comment might be considered useful as a reminder to update configurations, but it doesn't suggest a direct code change within the file. It could be seen as speculative since it assumes there are dependent services that need updating.
While the comment provides a useful reminder, it doesn't align with the rules for review comments, which require actionable and clear suggestions for code changes within the file.
The comment should be removed because it doesn't suggest a direct code change within the file and is speculative about external configurations.
2. llm-proxy/docker-compose.yml:54
- Draft comment:
The port mapping forlitellm-redis
has been changed from6379:6379
to16379:6379
. Ensure that any services depending on this Redis instance are updated to connect to the new port16379
. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable:
The comment is about a change made in the diff, specifically the port mapping for Redis. However, the comment suggests ensuring that dependent services are updated, which is speculative and not actionable. The comment does not directly suggest a code change but rather a configuration update outside the scope of this file.
The comment might be considered useful for someone unaware of the implications of changing port mappings, but it doesn't suggest a direct code change within the file itself.
While the comment provides useful information, it doesn't align with the rules for review comments as it doesn't suggest a direct code change within the file.
The comment should be deleted as it doesn't suggest a direct code change within the file and is speculative in nature.
Workflow ID: wflow_vGYTIK63XPOiOFWd
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
llm-proxy/docker-compose.yml
Outdated
- "5432:5432" | ||
- "15432:5432" | ||
|
||
# FIXME: This combination of env_file and environment is not working |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment indicates that the combination of env_file
and environment
is not working as expected. Consider using only one method to set environment variables to avoid conflicts or unexpected behavior.
- POSTGRES_USER=${TEMPORAL_POSTGRES_USER} | ||
- POSTGRES_PASSWORD=${TEMPORAL_POSTGRES_PASSWORD} | ||
ports: | ||
- 25432:5432 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The port mapping for temporal-db
has been changed from 5432:5432
to 25432:5432
. Ensure that any services depending on this database are updated to connect to the new port 25432
.
Signed-off-by: Diwank Tomer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 20c216e in 25 seconds
More details
- Looked at
181
lines of code in10
files - Skipped
0
files when reviewing. - Skipped posting
6
drafted comments based on config settings.
1. agents-api/docker-compose.yml:2
- Draft comment:
Theversion
field is removed, which is appropriate as it is deprecated in newer versions of Docker Compose. - Reason this comment was not posted:
Confidence changes required:0%
Theversion
field is removed from multiple docker-compose.yml files. This field is deprecated in newer versions of Docker Compose, so its removal is appropriate.
2. docker-compose.yml:2
- Draft comment:
Theversion
field is removed, which is appropriate as it is deprecated in newer versions of Docker Compose. - Reason this comment was not posted:
Confidence changes required:0%
Theversion
field is removed from multiple docker-compose.yml files. This field is deprecated in newer versions of Docker Compose, so its removal is appropriate.
3. gateway/docker-compose.yml:2
- Draft comment:
Theversion
field is removed, which is appropriate as it is deprecated in newer versions of Docker Compose. - Reason this comment was not posted:
Confidence changes required:0%
Theversion
field is removed from multiple docker-compose.yml files. This field is deprecated in newer versions of Docker Compose, so its removal is appropriate.
4. memory-store/docker-compose.yml:2
- Draft comment:
Theversion
field is removed, which is appropriate as it is deprecated in newer versions of Docker Compose. - Reason this comment was not posted:
Confidence changes required:0%
Theversion
field is removed from multiple docker-compose.yml files. This field is deprecated in newer versions of Docker Compose, so its removal is appropriate.
5. monitoring/docker-compose.yml:2
- Draft comment:
Theversion
field is removed, which is appropriate as it is deprecated in newer versions of Docker Compose. - Reason this comment was not posted:
Confidence changes required:0%
Theversion
field is removed from multiple docker-compose.yml files. This field is deprecated in newer versions of Docker Compose, so its removal is appropriate.
6. scheduler/docker-compose.yml:2
- Draft comment:
Theversion
field is removed, which is appropriate as it is deprecated in newer versions of Docker Compose. - Reason this comment was not posted:
Confidence changes required:0%
Theversion
field is removed from multiple docker-compose.yml files. This field is deprecated in newer versions of Docker Compose, so its removal is appropriate.
Workflow ID: wflow_k6CXvloKWTfUhmur
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Signed-off-by: Diwank Tomer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on ffc829b in 15 seconds
More details
- Looked at
13
lines of code in1
files - Skipped
1
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. agents-api/pyproject.toml:21
- Draft comment:
Ensure that theemail
extra forpydantic
is necessary. If not, consider removing it to avoid unnecessary dependencies. - Reason this comment was not posted:
Confidence changes required:50%
The change in thepydantic
dependency from a simple version to include theemail
extra is a minor change, but it should be verified if theemail
extra is necessary for the project. If not, it could lead to unnecessary bloat.
Workflow ID: wflow_WVqrD0apeXcK7j1v
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Signed-off-by: Diwank Tomer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 1b105f5 in 16 seconds
More details
- Looked at
10
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. agents-api/Dockerfile:17
- Draft comment:
Thepoetry install --no-dev
command is redundant since dependencies are already installed in line 13. Consider removing this line to optimize the build process. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable:
The comment is about a line that was not changed in the diff, which violates the rule that comments should only be about changed lines. Therefore, the comment should be removed.
The comment might still be valid in terms of optimizing the Dockerfile, even if it wasn't part of the diff changes.
The rules clearly state to remove comments on lines that weren't changed in the diff, regardless of their validity.
Remove the comment because it is about a line that was not changed in the diff.
Workflow ID: wflow_2m9LlzWXFewIPvnl
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Signed-off-by: Diwank Tomer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 542654a in 24 seconds
More details
- Looked at
649
lines of code in12
files - Skipped
0
files when reviewing. - Skipped posting
3
drafted comments based on config settings.
1. agents-api/docker-compose.yml:17
- Draft comment:
Consider using a consistent approach for environment variables. Use default values where applicable, e.g.,AGENTS_API_KEY: ${AGENTS_API_KEY:-default_value}
. This applies to other environment variables in this file and other Docker Compose files as well. - Reason this comment was not posted:
Confidence changes required:50%
The use of environment variables in the Docker Compose files is inconsistent. In some places, default values are provided using the syntax${VAR:-default}
while in others, they are not. This inconsistency can lead to unexpected behavior if the environment variables are not set.
2. .env.example:3
- Draft comment:
Ensure that sensitive information placeholders like<your_jwt_shared_key>
are not accidentally replaced with real data in version-controlled files. This applies to other sensitive placeholders in this file as well. - Reason this comment was not posted:
Confidence changes required:50%
The.env.example
file contains sensitive information placeholders. It's important to ensure that these placeholders are not accidentally filled with real sensitive data in the version-controlled file.
3. gateway/docker-compose.yml:6
- Draft comment:
Theenv_file
directive has been removed in favor of inline environment variable definitions. Ensure this change is consistent across all services to avoid confusion. - Reason this comment was not posted:
Confidence changes required:33%
The Docker Compose files have removed the use ofenv_file
and replaced it with inline environment variable definitions. This change should be consistent across all services to avoid confusion.
Workflow ID: wflow_7sjMN8336dRW6e33
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Signed-off-by: Diwank Tomer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 0cc7371 in 13 seconds
More details
- Looked at
33
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. memory-store/docker-compose.yml:36
- Draft comment:
The change to make the 'cozo_backup' volume external is not explained in the PR description. Ensure that the external volume is properly set up in the deployment environment to avoid runtime issues. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable:
The comment violates the rule against asking the PR author to ensure something is set up correctly. It also mentions the PR description, which is not relevant to the code change itself. The change to make the volume external is a valid code change, but the comment does not provide actionable feedback on the code itself.
I might be overlooking the potential impact of not having the external volume set up correctly, but the comment does not provide a direct code change suggestion.
The rules clearly state not to ask for verification or ensure something is set up correctly, so the comment should be removed regardless of potential impact.
Remove the comment as it violates the rules by asking for verification and mentioning the PR description.
Workflow ID: wflow_94Bq3s87NlQrnceT
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Signed-off-by: Diwank Tomer [email protected]
Summary:
This PR restructures Docker Compose by moving Temporal to a separate service, updating configurations, and changing the ENTRYPOINT in
agents-api/Dockerfile
.Key points:
scheduler
service.agents-api/Dockerfile.temporal
and its references.scheduler/docker-compose.yml
for Temporal services.scheduler/dynamicconfig/development-sql.yaml
for Temporal configuration.docker-compose.yml
to includescheduler/docker-compose.yml
.gateway/docker-compose.yml
andgateway/traefik.yml.template
.llm-proxy/docker-compose.yml
andmemory-store/docker-compose.yml
.agents-api/pyproject.toml
to includepydantic
email extras.ENTRYPOINT
inagents-api/Dockerfile
to use module execution.Generated with ❤️ by ellipsis.dev