添加docker-compose脚本

This commit is contained in:
xpnas 2021-03-25 01:17:03 +08:00
parent 096f057eeb
commit 53c02544cc
2 changed files with 17 additions and 2 deletions

View File

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

17
docker-compose.yaml Normal file
View File

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