Skip to content

Commit

Permalink
build: add build directives in compose for ARM64 arch workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jun 6, 2024
1 parent ca2b043 commit 04b77f5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,10 @@ services:
restart: "unless-stopped"

pyxform:
image: "ghcr.io/getodk/pyxform-http:v2.0.2"
image: "ghcr.io/getodk/pyxform-http:v2.0.3"
# Temp workaround until multiarch support
build:
context: https://github.com/getodk/pyxform-http.git#v2.0.3
depends_on:
central-db:
condition: service_healthy
Expand Down Expand Up @@ -228,6 +231,9 @@ services:

fmtm-db:
image: "postgis/postgis:${POSTGIS_TAG:-14-3.4-alpine}"
# Temp workaround until https://github.com/postgis/docker-postgis/issues/216
build:
context: https://github.com/postgis/docker-postgis.git#master:14-3.4/alpine
command: -c 'max_connections=300'
volumes:
- fmtm_db_data:/var/lib/postgresql/data/
Expand Down

0 comments on commit 04b77f5

Please sign in to comment.