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