App/emlog (#276)

* feat: add emlog to appstore.
This commit is contained in:
snow
2023-08-02 16:57:27 +08:00
committed by GitHub
parent a2c0fad235
commit ccd5728471
5 changed files with 122 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
additionalProperties:
formFields:
- default: ""
envKey: PANEL_DB_HOST
key: mysql
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
- default: emlog
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: emlog
envKey: PANEL_DB_USER
labelEn: Database User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: emlog
envKey: PANEL_DB_USER_PASSWORD
labelEn: Database User Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: 80
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: localhost
edit: true
envKey: EMLOG_EXTERNAL_URL
labelEn: site domain
labelZh: 绑定的域名,如 emlog.net ,不带http
required: true
rule: paramExtUrl
type: text
@@ -0,0 +1,23 @@
version: '3'
services:
emlog:
image: emlog/emlog:pro-latest-php7.4-apache
container_name: ${CONTAINER_NAME}
restart: always
environment:
- EMLOG_DB_HOST=${PANEL_DB_HOST}
- EMLOG_DB_NAME=${PANEL_DB_NAME}
- EMLOG_DB_USER=${PANEL_DB_USER}
- EMLOG_DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- EMLOG_DOMAIN_NAME=${EMLOG_EXTERNAL_URL}
ports:
- ${PANEL_APP_PORT_HTTP}:80
networks:
- 1panel-network
volumes:
- ./data:/app
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true