Skip to content

Commit

Permalink
feat(docker): add default config file
Browse files Browse the repository at this point in the history
  • Loading branch information
acouvreur committed Nov 11, 2022
1 parent 8c67c5f commit 9594e03
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ RUN make BUILDTIME=${BUILDTIME} VERSION=${VERSION} GIT_REVISION=${REVISION} ${TA
FROM alpine

COPY --from=build /go/src/sablier/sablier* /etc/sablier/sablier
COPY docker/sablier.yaml /etc/sablier/sablier.yaml

EXPOSE 10000

ENTRYPOINT [ "/etc/sablier/sablier" ]
CMD [ "start", "--provider.name=docker"]
CMD [ "--configFile=/etc/sablier/sablier.yaml", "start" ]
12 changes: 12 additions & 0 deletions docker/sablier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
server:
port: 10000
base-path: /
storage:
file: /etc/sablier/state.json
provider:
name: docker
logging:
level: info
strategy:
dynamic:
custom-themes-path: /etc/sablier/themes

0 comments on commit 9594e03

Please sign in to comment.