This commit is contained in:
Viktor Lofgren 2023-03-11 11:35:08 +01:00
parent 919b80b9ab
commit 0532e8c40e
2 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,6 @@ import nu.marginalia.index.client.model.query.SearchSetIdentifier;
import java.util.Objects;
public enum SearchProfile {
DEFAULT("default", SearchSetIdentifier.RETRO),
MODERN("modern", SearchSetIdentifier.SMALLWEB),
CORPO("corpo", SearchSetIdentifier.NONE),
@ -16,7 +15,6 @@ public enum SearchProfile {
VINTAGE("vintage", SearchSetIdentifier.NONE),
CORPO_CLEAN("corpo-clean", SearchSetIdentifier.NONE),
ACADEMIA("academia", SearchSetIdentifier.ACADEMIA),
PLAIN_TEXT("plain-text", SearchSetIdentifier.NONE),
FOOD("food", SearchSetIdentifier.NONE),
CRAFTS("crafts", SearchSetIdentifier.NONE),

View File

@ -1,5 +1,3 @@
import java.nio.file.Files
ext {
dockerImage='openjdk:17-slim'
serviceJvmOpts='-Dservice-host=0.0.0.0 -ea -Dsmall-ram=true ${wmsa_jvm_param} -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=4000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false'
@ -34,6 +32,11 @@ dockerPrepare {
dependsOn tasks.dockerFile
}
dockerfileZip {
dependsOn tasks.dockerFile
}
docker {
dockerfile = tasks.dockerFile.outputs.files.singleFile
name = 'marginalia.nu/'+application.applicationName+':latest'