1
0
Fork 0

feat: PHP 应用增加 label (#20)

This commit is contained in:
zhengkunwang223 2023-04-10 18:35:19 +08:00 committed by GitHub
parent 60b9c47333
commit 552786a7a6
10 changed files with 22 additions and 10 deletions

View File

@ -9,6 +9,10 @@
"key": "Server", "key": "Server",
"name": "Web 服务器" "name": "Web 服务器"
}, },
{
"key": "Runtime",
"name": "运行环境"
},
{ {
"key": "Database", "key": "Database",
"name": "数据库" "name": "数据库"
@ -22,8 +26,8 @@
"name": "CI/CD" "name": "CI/CD"
}, },
{ {
"key": "Runtime", "key": "Local",
"name": "运行环境" "name": "本地"
} }
], ],
"items": [ "items": [

View File

@ -93,6 +93,10 @@
{ {
"label": "igbinary", "label": "igbinary",
"value": "igbinary" "value": "igbinary"
},
{
"label": "mysqli",
"value": "mysqli"
} }
], ],
"envKey": "PHP_EXTENSIONS", "envKey": "PHP_EXTENSIONS",

View File

@ -18,5 +18,3 @@ services:
restart: always restart: always
cap_add: cap_add:
- SYS_PTRACE - SYS_PTRACE
networks:
- default

View File

@ -14,6 +14,8 @@ services:
- ./composer:/tmp/composer - ./composer:/tmp/composer
ports: ports:
- ${PANEL_APP_PORT_HTTP}:9000 - ${PANEL_APP_PORT_HTTP}:9000
labels:
createdBy: "Apps"
networks: networks:
1panel-network: 1panel-network:
external: true external: true

View File

@ -18,5 +18,3 @@ services:
restart: always restart: always
cap_add: cap_add:
- SYS_PTRACE - SYS_PTRACE
networks:
- default

View File

@ -14,6 +14,8 @@ services:
- ./composer:/tmp/composer - ./composer:/tmp/composer
ports: ports:
- ${PANEL_APP_PORT_HTTP}:9000 - ${PANEL_APP_PORT_HTTP}:9000
labels:
createdBy: "Apps"
networks: networks:
1panel-network: 1panel-network:
external: true external: true

View File

@ -93,6 +93,10 @@
{ {
"label": "igbinary", "label": "igbinary",
"value": "igbinary" "value": "igbinary"
},
{
"label": "mysqli",
"value": "mysqli"
} }
], ],
"envKey": "PHP_EXTENSIONS", "envKey": "PHP_EXTENSIONS",

View File

@ -18,5 +18,3 @@ services:
restart: always restart: always
cap_add: cap_add:
- SYS_PTRACE - SYS_PTRACE
networks:
- default

View File

@ -1,5 +1,5 @@
ARG PHP_VERSION ARG PHP_IMAGE
FROM ${PHP_VERSION} FROM ${PHP_IMAGE}
ARG TZ ARG TZ
ARG PHP_EXTENSIONS ARG PHP_EXTENSIONS

View File

@ -14,6 +14,8 @@ services:
- ./composer:/tmp/composer - ./composer:/tmp/composer
ports: ports:
- ${PANEL_APP_PORT_HTTP}:9000 - ${PANEL_APP_PORT_HTTP}:9000
labels:
createdBy: "Apps"
networks: networks:
1panel-network: 1panel-network:
external: true external: true