更新 docker-compose.yml

This commit is contained in:
Hzbb 2024-10-27 14:01:35 +00:00
parent b001df362d
commit 3214cd2dae

View File

@ -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