Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

Fix a couple of issues with Heroic minimal setup #529

Merged
merged 2 commits into from Aug 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions .dockerignore
@@ -0,0 +1,11 @@
/.git/
Dockerfile
.dockerignore
.gitignore
/docs/
/.idea/
*.png
*.md
build/
out/
.gradle
4 changes: 3 additions & 1 deletion Dockerfile
Expand Up @@ -10,9 +10,11 @@ RUN _JAVA_OPTIONS=-Djdk.net.URLClassPath.disableClassPathURLCheck=true ./gradlew
FROM openjdk:8
LABEL maintainer "layer8 <layer8@spotify.com>"

#ENTRYPOINT ["/usr/bin/heroic.sh"]
EXPOSE 8080
EXPOSE 9190

COPY --from=builder heroic-dist/build/libs/heroic-dist-0.0.1-SNAPSHOT-shaded.jar /usr/share/heroic/heroic.jar
COPY run-heroic.sh /usr/bin/heroic.sh

ENTRYPOINT ["/usr/bin/heroic.sh"]
CMD ["/heroic.yml"]
6 changes: 1 addition & 5 deletions example/heroic.example.yml
Expand Up @@ -25,8 +25,6 @@ metadata:
connection:
client:
type: standalone
seeds:
- localhost:9200

# Data consumers.
consumers:
Expand All @@ -40,9 +38,7 @@ consumers:

# Aggregation cache.
cache:
backend:
# In-memory based aggregation cache.
type: memory
type: memory

statistics:
type: semantic