Skip to content

Commit 31d3eb1

Browse files
authored
Merge pull request #8 from databucket/new_app_version
version 2.2.6
2 parents 7a4a040 + 99110e6 commit 31d3eb1

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

databucket-docker-alpine/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ VOLUME /tmp
33

44
EXPOSE 8080
55

6+
ENV TITLE Databucket
67
ENV DB_HOST localhost
78
ENV DB_PORT 3306
89
ENV DB_DATABASE databucket
@@ -20,7 +21,7 @@ RUN apk update && \
2021
COPY /docker-entrypoint.sh /home/spring/docker-entrypoint.sh
2122
RUN chmod +x /home/spring/docker-entrypoint.sh
2223

23-
RUN wget -O /home/spring/databucket-app-2.2.5.jar https://github.com/databucket/databucket-app/releases/download/2.2.5/databucket-app-2.2.5.jar
24+
RUN wget -O /home/spring/databucket-app-2.2.6.jar https://github.com/databucket/databucket-app/releases/download/2.2.6/databucket-app-2.2.6.jar
2425
RUN chown spring:spring /home/spring/${JAR_NAME}
2526

2627
USER spring

databucket-docker-alpine/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
exec java \
2+
-Ddatabuket.title=${TITLE} \
23
-Dspring.datasource.url=jdbc:mysql://${DB_HOST}:${DB_PORT}/${DB_DATABASE} \
34
-Dspring.datasource.username=${DB_USER} \
45
-Dspring.datasource.password=${DB_PASSWORD} \

databucket-docker-slim/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ VOLUME /tmp
33

44
EXPOSE 8080
55

6+
ENV TITLE Databucket
67
ENV DB_HOST localhost
78
ENV DB_PORT 3306
89
ENV DB_DATABASE databucket
@@ -19,7 +20,7 @@ RUN apt-get update && \
1920
COPY /docker-entrypoint.sh /home/spring/docker-entrypoint.sh
2021
RUN chmod +x /home/spring/docker-entrypoint.sh
2122

22-
RUN wget -O /home/spring/databucket-app-2.2.5.jar https://github.com/databucket/databucket-app/releases/download/2.2.5/databucket-app-2.2.5.jar
23+
RUN wget -O /home/spring/databucket-app-2.2.6.jar https://github.com/databucket/databucket-app/releases/download/2.2.6/databucket-app-2.2.6.jar
2324
RUN chown spring:spring /home/spring/${JAR_NAME}
2425

2526
USER spring

databucket-docker-slim/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
exec java \
2+
-Ddatabuket.title=${TITLE} \
23
-Dspring.datasource.url=jdbc:mysql://${DB_HOST}:${DB_PORT}/${DB_DATABASE} \
34
-Dspring.datasource.username=${DB_USER} \
45
-Dspring.datasource.password=${DB_PASSWORD} \

0 commit comments

Comments
 (0)