Skip to content

Commit a04738a

Browse files
committed
Updated plugin path
1 parent eb24c66 commit a04738a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/server/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type ServiceCommands struct {
3434
}
3535

3636
type ServiceRunCommand struct {
37-
Plugins []string `help:"Plugin paths"`
37+
Plugins []string `help:"Plugin paths" env:"PLUGIN_PATH"`
3838
}
3939

4040
type ServiceConfigCommand struct {

etc/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ RUN apt update -y && apt install -y ca-certificates
2525
LABEL org.opencontainers.image.source=https://${SOURCE}
2626

2727
# Entrypoint when running the server
28+
ENV PLUGIN_PATH="/usr/local/bin/*.plugin"
2829
ENTRYPOINT [ "/usr/local/bin/server" ]

0 commit comments

Comments
 (0)