Skip to content

Commit 3f88bd5

Browse files
committed
fix: add arm64 support for postgres image, platform fallback in compose
1 parent bcf15dc commit 3f88bd5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/docker-build-postgres.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: docker/build-push-action@v6
3030
with:
3131
context: ./postgres
32-
platforms: linux/amd64
32+
platforms: linux/amd64,linux/arm64
3333
push: true
3434
tags: |
3535
fffattiger/pgvector-zhparser:pg16

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
services:
22
postgres:
33
image: ${LORE_POSTGRES_IMAGE:-fffattiger/pgvector-zhparser:pg16}
4+
platform: linux/amd64
45
container_name: lore-postgres
56
restart: unless-stopped
67
environment:

0 commit comments

Comments
 (0)