更新 docker-compose.yml
This commit is contained in:
parent
b001df362d
commit
3214cd2dae
@ -1,12 +1,12 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
springboot-helloworld:
|
springboot-helloworld:
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile.make
|
||||||
container_name: springboot-helloworld
|
container_name: springboot-helloworld
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- JVM_OPTS_ENV=-Xms1024m -Xmx1024m -Xmn512m -XX:+UseConcMarkSweepGC
|
- JVM_OPTS_ENV=-Xms1024m -Xmx1024m -Xmn512m -XX:+UseConcMarkSweepGC
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
|
Loading…
Reference in New Issue
Block a user