From c6164a230adc0c4aa518674050bac58179f1fa8e Mon Sep 17 00:00:00 2001 From: hiparker Date: Wed, 12 May 2021 21:34:01 +0800 Subject: [PATCH] =?UTF-8?q?Docker=E9=83=A8=E7=BD=B2=20=E6=8C=82=E8=BD=BD?= =?UTF-8?q?=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose-server.yml | 2 ++ docker-compose.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker-compose-server.yml b/docker-compose-server.yml index b7b1175..fafed7b 100644 --- a/docker-compose-server.yml +++ b/docker-compose-server.yml @@ -53,5 +53,7 @@ services: - -XX:+UseG1GC - -XX:MaxGCPauseMillis=200 - --spring.profiles.active=beta + volumes: + - /usr/local/opsli/opsli-boot/run:/usr/local/opsli/opsli-boot #挂载目录 ports: - "7000:7000" \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 582b8aa..a8a1eaa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,5 +14,7 @@ services: - -XX:+UseG1GC - -XX:MaxGCPauseMillis=200 - --spring.profiles.active=beta + volumes: + - /usr/local/opsli/opsli-boot/run:/usr/local/opsli/opsli-boot #挂载目录 ports: - "7000:7000" \ No newline at end of file