From 53c02544cceb9b8f554674fd4a976ff40ec280cc Mon Sep 17 00:00:00 2001 From: xpnas Date: Thu, 25 Mar 2021 01:17:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0docker-compose=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Inotify/Dockerfile | 2 -- docker-compose.yaml | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 docker-compose.yaml diff --git a/Inotify/Dockerfile b/Inotify/Dockerfile index 6687b41..2f62199 100644 --- a/Inotify/Dockerfile +++ b/Inotify/Dockerfile @@ -5,8 +5,6 @@ VOLUME ["/im_data"] WORKDIR /app EXPOSE 80 EXPOSE 443 -ENV GitHubClientId="" -ENV GitClientSecret="" FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build WORKDIR /src diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..4ea2cf7 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,17 @@ +version: "3.6" +services: + inotify_vue: + image: xpnas/inotify:vue + ports: + - "8000:80" + restart: always + container_name: inotify_vue + inotify_service: + image: xpnas/inotify:service + volumes: + - ./m_data:/im_data" + ports: + - "8001:80" + restart: always + container_name: inotify_service +