Commit 13c5c4c
committed
Do not override solr-update-core-and-start in the compose and stack files
The ghcr.io/kitconcept/solr image sets CMD
["solr-update-core-and-start"], which refreshes the config of an already
existing core before calling solr-precreate. All three places that start
Solr then set a command: of their own with plain solr-precreate, which
replaces the CMD and disables the refresh, so a core that already exists
on a volume keeps its old config.
Call the script explicitly instead of relying on the CMD, so adding a
command: back later cannot silently switch it off again.1 parent fad4688 commit 13c5c4c
4 files changed
Lines changed: 4 additions & 9 deletions
File tree
- devops/stacks
- news
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
| 102 | + | |
105 | 103 | | |
106 | 104 | | |
107 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
| 137 | + | |
140 | 138 | | |
141 | 139 | | |
142 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
| 60 | + | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments