Skip to content

Docker documentation and config.yaml must be updated #24

@mortenvw-hub

Description

@mortenvw-hub

In documentation:

docker run --rm -p 8000:8000 --add-host=host.docker.internal:host-gateway -v ./config.yaml:/app/config.yaml:ro -v ./stage:/app/stage:ro ghcr.io/nfdi4objects/n4o-graph-apis:main

In config:

# SPARQL endpoint and examples (required)
sparql:
  endpoint: http://host.docker.internal:3030/n4o
  examples:
    # examples given in files
    - queries/*.rq
    # example given in config file
    - name: List all classes
      query: |
        SELECT DISTINCT ?class WHERE { [] a ?class }  examples:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions