Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 62abff7

Browse files
committed
Docker config
1 parent 41be0bd commit 62abff7

File tree

6 files changed

+61
-4
lines changed

6 files changed

+61
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
**/.classpath
2+
**/.dockerignore
3+
**/.env
4+
**/.git
5+
**/.gitignore
6+
**/.project
7+
**/.settings
8+
**/.toolstarget
9+
**/.vs
10+
**/.vscode
11+
**/*.*proj.user
12+
**/*.dbmdl
13+
**/*.jfm
14+
**/bin
15+
**/charts
16+
**/docker-compose*
17+
**/compose*
18+
**/Dockerfile*
19+
**/node_modules
20+
**/npm-debug.log
21+
**/obj
22+
**/secrets.dev.yaml
23+
**/values.dev.yaml
24+
LICENSE
25+
README.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM openjdk:8-jdk-alpine
2+
VOLUME /tmp
3+
ARG JAVA_OPTS
4+
ENV JAVA_OPTS=$JAVA_OPTS
5+
COPY target/crud-spring-0.2.4-SNAPSHOT.jar crudspring.jar
6+
EXPOSE 8080
7+
ENTRYPOINT exec java $JAVA_OPTS -jar crudspring.jar
8+
# For Spring-Boot project, use the entrypoint below to reduce Tomcat startup time.
9+
#ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar crudspring.jar
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: '3.4'
2+
3+
services:
4+
crudspring:
5+
image: crudspring
6+
build:
7+
context: .
8+
dockerfile: ./Dockerfile
9+
environment:
10+
JAVA_OPTS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005,quiet=y
11+
ports:
12+
- 8080:8080
13+
- 5005:5005
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: '3.4'
2+
3+
services:
4+
crudspring:
5+
image: crudspring
6+
build:
7+
context: .
8+
dockerfile: ./Dockerfile
9+
ports:
10+
- 8080:8080
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:e67c9d3eb431a3d713467929c954618d3fabe149f8f653145834a9f35c740e03
3-
size 8348
2+
oid sha256:3028ef802b39b6a0b12c086a249e1d8428a34347048e9906779ff97930274c11
3+
size 8347
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:4902d9a4520dc6da1adc5b291d05b2a956b2732331d73bd93b3699ae2c82d960
3-
size 495
2+
oid sha256:d5e5cce38414440885f7350b002b4075773295bff7a6d38417b01e561f9973a6
3+
size 494

0 commit comments

Comments
 (0)