version: "3" services: solr: image: tenshiamd/solr:5-alpine ports: - ${SOLR_PORT:-8983}:8983 volumes: - solr-data:/var/lib/solr volumes: solr-data: