Created
March 24, 2022 13:37
-
-
Save josefglatz/c3b72b93cb9a404ceb5a4a23aaca6ade to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
solr: | |
container_name: ddev-${DDEV_SITENAME}-solr | |
image: "solr:8.11" | |
env_file: "../app/.env" | |
networks: | |
default: null | |
volumes: | |
- "../solr:/var/solr/data" | |
expose: | |
- "8983" | |
labels: | |
com.ddev.site-name: ${DDEV_SITENAME} | |
com.ddev.approot: ${DDEV_APPROOT} | |
environment: | |
VIRTUAL_HOST: ${DDEV_HOSTNAME} | |
HTTP_EXPOSE: "8983:8983" | |
HTTPS_EXPOSE: "8984:8983" | |
SOLR_JAVA_MEM: "-Xms128m -Xmx512m" | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment