version: '2'
services:
  server:
    build: .
    entrypoint: /entrypoint.sh
    environment:
      - POSTGRES_PASSWORD=postgres
    command: postgres
    ports:
      - "5432:5432"
    volumes:
      - ./data:/data
      - /mnt/solexa:/mnt/solexa

version: '2'
services:
  server:
    build: .
    entrypoint: /entrypoint.sh
    environment:
      - POSTGRES_PASSWORD=postgres
    command: postgres
    ports:
      - "5432:5432"
    volumes:
      - ./data:/data
      - /net/bioaps01/srv/nfs4/solexa:/mnt/solexa:ro

Make /mnt/solexa work for an actual automounted dir
Make /mnt/solexa work for an actual automounted dir

- Also, make the mount in the container read-only
