Skip to content

Commit

Permalink
fix: preventing loss of manticoresearch customization
Browse files Browse the repository at this point in the history
> Each file should contain #ddev-generated so it can be replaced by a later `ddev get` _if it hasn't been modified by the user_.
  • Loading branch information
bricebou committed Mar 18, 2024
1 parent 2643986 commit 5a7aa25
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose.manticoresearch.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#ddev-generated
services:
manticoresearch:
container_name: ddev-${DDEV_SITENAME}-manticoresearch
Expand Down
12 changes: 11 additions & 1 deletion manticoresearch/manticore.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
ip=`hostname -i|rev|cut -d\ -f 1|rev`
cat << EOF
#ddev-generated
searchd {
# https://manual.manticoresearch.com/Server_settings/Searchd#access_plain_attrs
# access_plain_attrs = mmap_preread
Expand Down Expand Up @@ -257,4 +258,13 @@ common {
# https://manual.manticoresearch.com/Server_settings/Common#plugin_dir
# plugin_dir =
}
}
#############################################################################################
################################## YOUR SOURCES, INDEXES... #################################
#############################################################################################
#############################################################################################
############################### END OF YOUR SOURCES, INDEXES... #############################
#############################################################################################
EOF

0 comments on commit 5a7aa25

Please sign in to comment.