1
0

feat:添加medama到列表

This commit is contained in:
okxlin
2024-08-08 23:25:05 +08:00
parent 8af0478b42
commit 406d1b0d84
11 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
CONTAINER_NAME="medama"
PANEL_APP_PORT_HTTP=40282

View File

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

View File

@@ -0,0 +1,21 @@
services:
medama:
image: "ghcr.io/medama-io/medama:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- medama-data:/app/data
labels:
createdBy: "Apps"
volumes:
medama-data:
name: medama-data
networks:
1panel-network:
external: true

View File

@@ -0,0 +1,3 @@
#!/bin/bash
docker-compose down --volumes