精简提交历史记录
This commit is contained in:
3
apps/hasty-paste/latest/.env.sample
Normal file
3
apps/hasty-paste/latest/.env.sample
Normal file
@@ -0,0 +1,3 @@
|
||||
CONTAINER_NAME="hasty-paste"
|
||||
PANEL_APP_PORT_HTTP="40070"
|
||||
|
||||
12
apps/hasty-paste/latest/data.yml
Normal file
12
apps/hasty-paste/latest/data.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40070
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
|
||||
|
||||
23
apps/hasty-paste/latest/docker-compose.yml
Normal file
23
apps/hasty-paste/latest/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
services:
|
||||
hasty-paste:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8000"
|
||||
volumes:
|
||||
- hpaste_data:/app/data
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: ghcr.io/enchant97/hasty-paste:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
volumes:
|
||||
hpaste_data:
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user