[Compose] Expose Solr to 127.0.0.1

master
andryyy 2019-09-17 20:10:30 +02:00
parent 800c2f244e
commit b178326736
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 3 additions and 0 deletions

View File

@ -415,6 +415,8 @@ services:
restart: always restart: always
volumes: volumes:
- solr-vol-1:/opt/solr/server/solr/dovecot-fts/data - solr-vol-1:/opt/solr/server/solr/dovecot-fts/data
ports:
- "${SOLR_PORT:-127.0.0.1:8983}:8983"
environment: environment:
- TZ=${TZ} - TZ=${TZ}
- SOLR_HEAP=${SOLR_HEAP:-1024} - SOLR_HEAP=${SOLR_HEAP:-1024}

View File

@ -148,6 +148,7 @@ POPS_PORT=995
SIEVE_PORT=4190 SIEVE_PORT=4190
DOVEADM_PORT=127.0.0.1:19991 DOVEADM_PORT=127.0.0.1:19991
SQL_PORT=127.0.0.1:13306 SQL_PORT=127.0.0.1:13306
SOLR_PORT=127.0.0.1:8983
# Your timezone # Your timezone