# Fuseki using Rosetta 2 emulation on Apple Silicon services: fuseki: # Force AMD64 platform with Rosetta 2 emulation platform: linux/amd64 # Build from the in-repo Dockerfile (Fuseki 5.6.0). See # docker-compose-fuseki.yml for the full rationale. build: context: ../rdf-store dockerfile: Dockerfile image: openmetadata-fuseki:5.6.0 container_name: fuseki-standalone hostname: fuseki ports: - "3030:3030" environment: # Local-dev default — production deployments MUST override via # FUSEKI_ADMIN_PASSWORD / FUSEKI_OPENMETADATA_PASSWORD env vars. - FUSEKI_ADMIN_PASSWORD=${FUSEKI_ADMIN_PASSWORD:-admin} - FUSEKI_OPENMETADATA_PASSWORD=${FUSEKI_OPENMETADATA_PASSWORD:-openmetadata-secret} - JVM_ARGS=-Xmx8g -Xms4g volumes: # Host bind path renamed from `.../fuseki` (used by the old stain image # layout) to `.../fuseki-tdb2-data` so an existing host directory with # the previous layout isn't silently mounted at /fuseki-data — Fuseki # would see an empty TDB2 store and the old data would appear lost. # Operators upgrading can either delete the new dir to start fresh or # migrate old data manually. - ${DOCKER_VOLUMES_PATH:-./docker-volumes}/fuseki-tdb2-data:/fuseki-data networks: - fuseki-net healthcheck: test: ["CMD", "wget", "-q", "--spider", "http://localhost:3030/$/ping"] interval: 15s timeout: 10s retries: 5 start_period: 30s deploy: resources: limits: memory: 10G reservations: memory: 8G networks: fuseki-net: driver: bridge