Commit a5682e55 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent a27628a1
Pipeline #9231 passed with stages
in 18 seconds
......@@ -7,7 +7,7 @@ COPY ./docker-entrypoint.sh /usr/local/bin/
COPY ./reindex.cron /etc/cron.d/reindex.cron
COPY ./manticore.conf /etc/manticoresearch/manticore.conf
ENV CHECKING_FILE=threads.spm
ENV CHECKING_FILE=threads.spi
RUN crontab /etc/cron.d/reindex.cron
VOLUME /var/lib/manticore
\ No newline at end of file
......@@ -41,7 +41,7 @@ _main() {
fi
fi
_replace_conf_from_env
if [[ ! -f "$CHECKING_FILE" ]]; then
if [[ ! -f "/var/lib/manticore/$CHECKING_FILE" ]]; then
echo "Indexing all..."
indexer --all
fi
......
#!/bin/sh
ip=`hostname -i|rev|cut -d\ -f 1|rev`
cat << EOF
searchd {
binlog_path =
listen = 3312
listen = 9306:mysql41
listen = /var/run/mysqld/mysqld.sock:mysql41
listen = $ip:9312
listen = 9308:http
listen = $ip:9315-9325:replication
log = /var/log/manticore/searchd.log
max_packet_size = 128M
pid_file = /var/run/manticore/searchd.pid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment