parent
8604602f83
commit
2e915fe106
|
@ -5,7 +5,7 @@ LABEL Author="axzsd" \
|
||||||
Description="创盈支付服务端"
|
Description="创盈支付服务端"
|
||||||
|
|
||||||
ENV SPRING_PROFILES_ACTIVE="dev"
|
ENV SPRING_PROFILES_ACTIVE="dev"
|
||||||
ENV JAVA_OPTIONS "-Xms800m -Xmx800m \
|
ENV JAVA_OPTIONS "-Xms1024m -Xmx2048m \
|
||||||
-XX:+HeapDumpOnOutOfMemoryError \
|
-XX:+HeapDumpOnOutOfMemoryError \
|
||||||
-Dfile.encoding=UTF-8 \
|
-Dfile.encoding=UTF-8 \
|
||||||
-Djava.awt.headless=true \
|
-Djava.awt.headless=true \
|
||||||
|
|
|
@ -20,7 +20,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 800MB
|
memory: 2048MB
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:48080/actuator/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:48080/actuator/health"]
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
|
|
Loading…
Reference in New Issue