Skip to content

Instantly share code, notes, and snippets.

@idler
Created January 28, 2023 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save idler/d079da3dedc5f6b783a04d8870bb2ec6 to your computer and use it in GitHub Desktop.
Save idler/d079da3dedc5f6b783a04d8870bb2ec6 to your computer and use it in GitHub Desktop.
version: '3'
services:
solr:
restart: always
hostname: solr
image: solr:8.8
ports:
- "8983:8983"
volumes:
- ./data:/var/solr
command:
- solr-precreate
- gettingstarted
# nginx:
# restart: always
# image: nginx:alpine
# ports:
# - "80:80"
# volumes:
# - ./html/public:/usr/share/nginx/html
# - ./conf.d:/etc/nginx/conf.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment