-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added option to specify platform for db in compose (#2725)
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.
- Loading branch information
1 parent
801c87d
commit fe93087
Showing
5 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters