diff --git a/README.md b/README.md index c0e56bf..ad06650 100644 --- a/README.md +++ b/README.md @@ -92,14 +92,14 @@ mvn clean package -Dmaven.test.skip=true a. jar包启动: ```plaintext -cd adi-chat/target +cd adi-bootstrap/target nohup java -jar -Xms768m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError adi-chat-0.0.1-SNAPSHOT.jar --spring.profiles.active=[dev|prod] dev/null 2>&1 & ``` b. docker启动 ```plaintext -cd adi-chat +cd adi-bootstrap docker build . -t aideepin:0.0.1 docker run -d \ --name=aideepin \ diff --git a/adi-bootstrap/pom.xml b/adi-bootstrap/pom.xml index e2aeac7..39a7976 100644 --- a/adi-bootstrap/pom.xml +++ b/adi-bootstrap/pom.xml @@ -33,5 +33,29 @@ true + + + org.springframework.boot + spring-boot-maven-plugin + + com.moyz.adi.BootstrapApplication + true + + + org.projectlombok + lombok + + + + + + + build-info + repackage + + + + + \ No newline at end of file diff --git a/adi-chat/pom.xml b/adi-chat/pom.xml index a6d3f86..169ee50 100644 --- a/adi-chat/pom.xml +++ b/adi-chat/pom.xml @@ -29,31 +29,4 @@ - - - - org.springframework.boot - spring-boot-maven-plugin - - com.moyz.adi.BootstrapApplication - true - - - org.projectlombok - lombok - - - - - - - build-info - repackage - - - - - - - \ No newline at end of file diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index c5d90cd..4210c93 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -13,7 +13,7 @@ services: aideepin: image: adi-bootstrap:${IMAGE_VERSION} container_name: aideepin - build: ../adi-chat + build: ../adi-bootstrap environment: APP_VERSION: ${APP_VERSION} TZ: ${TZ}