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

fix: added option to specify platform for db in compose #2725

Merged
merged 2 commits into from Apr 22, 2023

Conversation

dominiquegarmier
Copy link
Contributor

@dominiquegarmier dominiquegarmier commented Apr 18, 2023

related to issue #2721

enables specifying platform for service db using environment variable DB_PLATFORM. If left unspecified (silently) defaults to current behaviour.

this solves the issue where M1 users where unable to use docker-compose as the db service relies on ghcr.io/laion-ai/open-assistant/oasst-postgres (which does not support linux/arm64/v8 as plaform).

sadly (afaik) docker-compose does not offer something akin to docker --platform you have to set it in the compose-file.

Copy link
Collaborator

@notmd notmd left a comment

Choose a reason for hiding this comment

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

Thank you

Copy link
Collaborator

@andreaskoepf andreaskoepf left a comment

Choose a reason for hiding this comment

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

ok, would be great if this solved the M1 docker issue

@andreaskoepf andreaskoepf merged commit fe93087 into LAION-AI:main Apr 22, 2023
4 checks passed
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.

None yet

4 participants