https://github.com/cbeer/docker-spotlight
https://github.com/cbeer/docker-spotlight
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cbeer/docker-spotlight
- Owner: cbeer
- Created: 2015-03-23T01:04:18.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-23T02:50:31.000Z (about 10 years ago)
- Last Synced: 2025-01-23T03:38:31.174Z (5 months ago)
- Language: Shell
- Size: 137 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-spotlight
## Running with docker-compose
```
$ docker-compose up
```## Running as docker
`docker-spotlight` expects:
- a solrcloud server with a collection
- a (postgres) database serverIt also uses these env variables:
- SOLR_URL=http://url/to/solr/collection (or:)
- COLLECTION_NAME=spotlight (default; if not using SOLR_URL, and using a `solr` link)
- DATABASE_URL=postgres://some:postgres@host/database (if not using a `db` link)
- SECRET_KEY_BASE=xyz (required)```
$ docker run -p 8000:80 -e SECRET_KEY_BASE=xyz --link postgres:db --link cbeer/docker-solr-cloud:solr cbeer/docker-spotlight
```