Update Apps
This commit is contained in:
5
apps/myip/5.0.3/.env.sample
Normal file
5
apps/myip/5.0.3/.env.sample
Normal file
@@ -0,0 +1,5 @@
|
||||
CONTAINER_NAME="myip"
|
||||
PANEL_APP_PORT_HTTP="40191"
|
||||
ALLOWED_DOMAINS=""
|
||||
BING_MAP_API_KEY=""
|
||||
IPINFO_API_TOKEN=""
|
||||
31
apps/myip/5.0.3/data.yml
Normal file
31
apps/myip/5.0.3/data.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40191
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: BING_MAP_API_KEY
|
||||
labelEn: Bing Map API Key
|
||||
labelZh: Bing 地图 API Key
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: IPINFO_API_TOKEN
|
||||
labelEn: IPInfo.io API
|
||||
labelZh: IPinfo.io 的 API
|
||||
required: false
|
||||
type: text
|
||||
- default: "example.com"
|
||||
edit: true
|
||||
envKey: ALLOWED_DOMAINS
|
||||
labelEn: Allowed domains
|
||||
labelZh: 允许的域名
|
||||
required: false
|
||||
type: text
|
||||
19
apps/myip/5.0.3/docker-compose.yml
Normal file
19
apps/myip/5.0.3/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
myip:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:18966"
|
||||
environment:
|
||||
- BING_MAP_API_KEY=${BING_MAP_API_KEY}
|
||||
- ALLOWED_DOMAINS=${ALLOWED_DOMAINS}
|
||||
- IPINFO_API_TOKEN=${IPINFO_API_TOKEN}
|
||||
image: jason5ng32/myip:v5.0.3
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user