Skip to content

3.2.1 How to configure LAPIS

Fabian Engelniederhammer edited this page Jun 15, 2023 · 1 revision

Locally store LAPIS and SILO logs of running Docker containers

Create bind mounts so that the containers store their logs in the mounted directories. Suppose you want to store the logs in /opt/lapis/logs on your host.

Docker compose snippet for LAPIS:

services:
  lapis:
    image: ghcr.io/genspectrum/lapis-v2
    volumes:
      - type: bind
        source: /opt/lapis/logs
        target: /workspace/log

Docker compose snippet for SILO:

services:
  silo:
    image: ghcr.io/genspectrum/lapis-silo:${SILO_TAG}
    volumes:
      - type: bind
        source: /opt/lapis/logs
        target: /app/logs

Clone this wiki locally