Sha256: e61e5a1c2233022d662445a0a910964b9034804aa18bd35438b16b68346b65a2

Contents?: true

Size: 1.21 KB

Versions: 5

Compression:

Stored size: 1.21 KB

Contents

services:
  app:
    build:
      context: .
      dockerfile: .docker/app/Dockerfile
      args:
        - ALPINE_RUBY_VERSION
    # mounting . is causing seg-fault on macosx
    #volumes:
      #- .:/app
    depends_on:
      - solr
    ports:
      - "3000:3000"
    environment:
      - SOLR_URL # Set via environment variable or use default defined in .env file
      - RAILS_VERSION # Set via environment variable or use default defined in .env file
      - VIEW_COMPONENT_VERSION # Set via environment variable or use default defined in .env file
      - SOLR_ENV=docker-compose
      - ENGINE_CART_RAILS_OPTIONS=--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test --skip-solr

  solr:
    environment:
      - SOLR_PORT # Set via environment variable or use default defined in .env file
      - SOLR_VERSION # Set via environment variable or use default defined in .env file
    image: "solr:${SOLR_VERSION}"
    volumes:
      - $PWD/lib/generators/blacklight/templates/solr/conf:/opt/solr/conf
    ports:
      - "${SOLR_PORT}:8983"
    entrypoint:
      - docker-entrypoint.sh
      - solr-precreate
      - blacklight-core
      - /opt/solr/conf
      - "-Xms256m"
      - "-Xmx512m"

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/docker-compose.yml
blacklight-8.3.0 docker-compose.yml
blacklight-8.2.2 docker-compose.yml
blacklight-8.2.1 docker-compose.yml
blacklight-8.2.0 docker-compose.yml