diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..723ef36 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9247df3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM adoptopenjdk/openjdk11-openj9:alpine-jre +LABEL app="sentinel dashboard" \ + version="1.8.1" \ + description="alibaba sentinel dashboard" \ + author="https://gcdd1993.github.io" + +WORKDIR /app +COPY releases/sentinel-dashboard-1.8.1.jar /app/sentinel-dashboard.jar + +ENV DASHBOARD_PORT 8080 +ENV USERNAME sentinel +ENV PASSWORD sentinel + +EXPOSE $DASHBOARD_PORT +CMD ["java","-jar","/app/sentinel-dashboard.jar","-Dserver.port=$DASHBOARD_PORT","-Dcsp.sentinel.dashboard.server=localhost:$DASHBOARD_PORT","-Dproject.name=sentinel-dashboard","-Dauth.username=$USERNAME","-Dauth.password=$PASSWORD"] \ No newline at end of file diff --git a/releases/sentinel-dashboard-1.8.1.jar b/releases/sentinel-dashboard-1.8.1.jar new file mode 100644 index 0000000..061717d Binary files /dev/null and b/releases/sentinel-dashboard-1.8.1.jar differ