We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb24c66 commit a04738aCopy full SHA for a04738a
cmd/server/service.go
@@ -34,7 +34,7 @@ type ServiceCommands struct {
34
}
35
36
type ServiceRunCommand struct {
37
- Plugins []string `help:"Plugin paths"`
+ Plugins []string `help:"Plugin paths" env:"PLUGIN_PATH"`
38
39
40
type ServiceConfigCommand struct {
etc/docker/Dockerfile
@@ -25,4 +25,5 @@ RUN apt update -y && apt install -y ca-certificates
25
LABEL org.opencontainers.image.source=https://${SOURCE}
26
27
# Entrypoint when running the server
28
+ENV PLUGIN_PATH="/usr/local/bin/*.plugin"
29
ENTRYPOINT [ "/usr/local/bin/server" ]
0 commit comments