Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@GCHQDeveloper36
Copy link
Member

Updated the base compose file to use the published modelscan image since most of the time that should be the default. If you're developing the modelscan container, you can just add -f compose.modelscan.yaml to tell compose it should build and use that image.

By default, docker compose up/build/pull will use the published modelscan image, and the 'local' dev containers for frontend/backend.

If you add -f compose.modelscan.yaml it will also use the 'local' dev container for modelscan.

I also updated the prod compose file to reference the (current) published images for frontend/backend.

This also fixes the current main revision where if you do compose pull it will not find the bailo containers (understandably), and should instead say 'skipped'.

@PE39806
Copy link
Contributor

PE39806 commented Oct 16, 2025

Please update the docs to specify how to use the "local" dev container for modelscan.

Copy link
Contributor

@PE39806 PE39806 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the current compose.prod.yaml builds the images differently to compose.override.yaml (the multistage build has a different layer target), I think we need another compose file for the pulled images as otherwise this PR would remove that true-to-prod "local" build which is useful for testing. Perhaps a compose.release.yaml would be a good place to have the pulled images?

I'm not 100% sure on these thoughts so any discussion is very welcome.

compose.prod.yaml Outdated Show resolved Hide resolved
compose.prod.yaml Outdated Show resolved Hide resolved
compose.yaml Outdated Show resolved Hide resolved
@PE39806
Copy link
Contributor

PE39806 commented Oct 16, 2025

Another thought - we still need some way to test functionality via GitHub Actions which currently uses the local build for all images in compose.prod.yaml. This functionality needs to be kept for things like the cypress tests, or the GitHub Actions will require updating to still use the locally built version rather than pulling from GHCR.

Copy link
Member

@JR40159 JR40159 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to discuss the pros/cons of this. Using a local build for the docker compose files can be very useful for local development.

@GCHQDeveloper36 GCHQDeveloper36 force-pushed the dev/move-modelscan-build branch from 90af20c to 4956b8a Compare October 27, 2025 16:50
@GCHQDeveloper36
Copy link
Member Author

I've rebased the branch and updated docs/tags based on comments above, but would probably be best to talk through the changes re testing/CICD etc.

@GCHQDeveloper36 GCHQDeveloper36 marked this pull request as draft October 27, 2025 16:50
@GCHQDeveloper36 GCHQDeveloper36 force-pushed the dev/move-modelscan-build branch 2 times, most recently from 4d3475f to 672ca7c Compare November 17, 2025 14:51
@GCHQDeveloper36 GCHQDeveloper36 force-pushed the dev/move-modelscan-build branch from 3ecd545 to 8b63470 Compare November 17, 2025 14:55
@GCHQDeveloper36 GCHQDeveloper36 marked this pull request as ready for review November 17, 2025 15:16
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.