1
0
Fork 0

feat: add .NET (#2571)

This commit is contained in:
zhengkunwang 2024-12-12 16:09:32 +08:00 committed by GitHub
parent c1b66046f3
commit c7bf21695f
12 changed files with 113 additions and 0 deletions

1
dotnet/6.0/data.yml Normal file
View File

@ -0,0 +1 @@
additionalProperties:

View File

@ -0,0 +1,20 @@
services:
java:
image: mcr.microsoft.com/dotnet/aspnet:${DOTNET_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

10
dotnet/6.0/run.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
source /.env
eval $EXEC_SCRIPT

1
dotnet/8.0/data.yml Normal file
View File

@ -0,0 +1 @@
additionalProperties:

View File

@ -0,0 +1,20 @@
services:
java:
image: mcr.microsoft.com/dotnet/aspnet:${DOTNET_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

10
dotnet/8.0/run.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
source /.env
eval $EXEC_SCRIPT

1
dotnet/9.0/data.yml Normal file
View File

@ -0,0 +1 @@
additionalProperties:

View File

@ -0,0 +1,20 @@
services:
java:
image: mcr.microsoft.com/dotnet/aspnet:${DOTNET_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

10
dotnet/9.0/run.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
source /.env
eval $EXEC_SCRIPT

3
dotnet/README.md Normal file
View File

@ -0,0 +1,3 @@
# .NET
.NET 是一个免费的跨平台开放源代码开发人员平台,用于生成多种类型的应用程序。

17
dotnet/data.yml Normal file
View File

@ -0,0 +1,17 @@
name: .NET
tags:
- 运行环境
title: .NET 运行环境
description: .NET 运行环境
additionalProperties:
key: dotnet
name: .NET
tags:
- Runtime
shortDescZh: .NET 运行环境
shortDescEn: .NET Runtime
type: dotnet
crossVersionUpdate: false
limit: 0
recommend: 119
website: https://learn.microsoft.com/zh-cn/dotnet/

BIN
dotnet/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB