| 14 | |
| 15 | |
| 16 | class Metabase(Service): |
| 17 | def __init__(self, name: str = "metabase") -> None: |
| 18 | super().__init__( |
| 19 | name=name, |
| 20 | config={ |
| 21 | # Newer Metabase versions changed the setup API and renamed |
| 22 | # the bundled sample database, which breaks |
| 23 | # `test/metabase/smoketest`. Leaving at v0.41 until the |
| 24 | # smoketest is updated for the new API. |
| 25 | "image": "metabase/metabase:v0.41.4", |
| 26 | "ports": ["3000"], |
| 27 | "healthcheck": { |
| 28 | "test": ["CMD", "curl", "-f", "localhost:3000/api/health"], |
| 29 | "interval": "1s", |
| 30 | "start_period": "300s", |
| 31 | }, |
| 32 | # The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested |
| 33 | # See https://github.com/metabase/metabase/issues/13119 |
| 34 | "platform": "linux/amd64", |
| 35 | }, |
| 36 | ) |
no outgoing calls
no test coverage detected