1
0

feat:添加homepage到列表

This commit is contained in:
okxlin
2024-03-25 11:57:26 +08:00
parent 8b8772538d
commit fe854191d4
11 changed files with 134 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
CONTAINER_NAME="homepage"
PANEL_APP_PORT_HTTP="40207"

View File

@@ -0,0 +1,10 @@
additionalProperties:
formFields:
- default: 40207
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,22 @@
version: '3'
services:
homepage:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:3000"
volumes:
- ./data/config:/app/config
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- PUID=1000
- PGID=1000
image: ghcr.io/gethomepage/homepage:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@@ -0,0 +1,3 @@
#!/bin/bash
chown -R 1000:1000 data