Skip to content

Commit d3d3cb7

Browse files
feat: add .NET
1 parent a1b2001 commit d3d3cb7

File tree

12 files changed

+113
-0
lines changed

12 files changed

+113
-0
lines changed

apps/donet/6.0/data.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
additionalProperties:

apps/donet/6.0/docker-compose.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
services:
2+
java:
3+
image: mcr.microsoft.com/dotnet/aspnet:${DONET_VERSION}
4+
container_name: ${CONTAINER_NAME}
5+
working_dir: /app
6+
volumes:
7+
- ${CODE_DIR}:/app
8+
- ./run.sh:/run.sh
9+
- ./.env:/.env
10+
command: bash /run.sh
11+
networks:
12+
- 1panel-network
13+
ports:
14+
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${APP_PORT}
15+
restart: on-failure:5
16+
labels:
17+
createdBy: "Apps"
18+
networks:
19+
1panel-network:
20+
external: true

apps/donet/6.0/run.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
source /.env
4+
5+
eval $EXEC_SCRIPT
6+
7+
8+
9+
10+

apps/donet/8.0/data.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
additionalProperties:

apps/donet/8.0/docker-compose.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
services:
2+
java:
3+
image: mcr.microsoft.com/dotnet/aspnet:${DONET_VERSION}
4+
container_name: ${CONTAINER_NAME}
5+
working_dir: /app
6+
volumes:
7+
- ${CODE_DIR}:/app
8+
- ./run.sh:/run.sh
9+
- ./.env:/.env
10+
command: bash /run.sh
11+
networks:
12+
- 1panel-network
13+
ports:
14+
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${APP_PORT}
15+
restart: on-failure:5
16+
labels:
17+
createdBy: "Apps"
18+
networks:
19+
1panel-network:
20+
external: true

apps/donet/8.0/run.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
source /.env
4+
5+
eval $EXEC_SCRIPT
6+
7+
8+
9+
10+

apps/donet/9.0/data.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
additionalProperties:

apps/donet/9.0/docker-compose.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
services:
2+
java:
3+
image: mcr.microsoft.com/dotnet/aspnet:${DONET_VERSION}
4+
container_name: ${CONTAINER_NAME}
5+
working_dir: /app
6+
volumes:
7+
- ${CODE_DIR}:/app
8+
- ./run.sh:/run.sh
9+
- ./.env:/.env
10+
command: bash /run.sh
11+
networks:
12+
- 1panel-network
13+
ports:
14+
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${APP_PORT}
15+
restart: on-failure:5
16+
labels:
17+
createdBy: "Apps"
18+
networks:
19+
1panel-network:
20+
external: true

apps/donet/9.0/run.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
source /.env
4+
5+
eval $EXEC_SCRIPT
6+
7+
8+
9+
10+

apps/donet/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# .NET
2+
3+
.NET 是一个免费的跨平台开放源代码开发人员平台,用于生成多种类型的应用程序。

0 commit comments

Comments
 (0)