添加docker-compose脚本
This commit is contained in:
parent
096f057eeb
commit
53c02544cc
@ -5,8 +5,6 @@ VOLUME ["/im_data"]
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
ENV GitHubClientId=""
|
|
||||||
ENV GitClientSecret=""
|
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
17
docker-compose.yaml
Normal file
17
docker-compose.yaml
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user