精简提交历史记录
This commit is contained in:
2
apps/focalboard/7.11.4/.env.sample
Normal file
2
apps/focalboard/7.11.4/.env.sample
Normal file
@@ -0,0 +1,2 @@
|
||||
CONTAINER_NAME="focalboard "
|
||||
PANEL_APP_PORT_HTTP="40098"
|
||||
11
apps/focalboard/7.11.4/data.yml
Normal file
11
apps/focalboard/7.11.4/data.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40098
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
|
||||
16
apps/focalboard/7.11.4/data/config.json
Normal file
16
apps/focalboard/7.11.4/data/config.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"serverRoot": "http://localhost:8000",
|
||||
"port": 8000,
|
||||
"dbtype": "sqlite3",
|
||||
"dbconfig": "./data/focalboard.db",
|
||||
"postgres_dbconfig": "dbname=focalboard sslmode=disable",
|
||||
"useSSL": false,
|
||||
"webpath": "./pack",
|
||||
"filespath": "./data/files",
|
||||
"telemetry": true,
|
||||
"session_expire_time": 2592000,
|
||||
"session_refresh_time": 18000,
|
||||
"localOnly": false,
|
||||
"enableLocalMode": true,
|
||||
"localModeSocketLocation": "/var/tmp/focalboard_local.socket"
|
||||
}
|
||||
17
apps/focalboard/7.11.4/data/postgres-config.json
Normal file
17
apps/focalboard/7.11.4/data/postgres-config.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"serverRoot": "http://localhost:8000",
|
||||
"port": 8000,
|
||||
"dbtype": "postgres",
|
||||
"dbconfig": "postgres://boardsuser:boardsuser-password@focalboard-db/boards?sslmode=disable&connect_timeout=10",
|
||||
"postgres_dbconfig": "dbname=boards sslmode=disable",
|
||||
"useSSL": false,
|
||||
"webpath": "./pack",
|
||||
"filespath": "./data/files",
|
||||
"telemetry": true,
|
||||
"prometheusaddress": ":9092",
|
||||
"session_expire_time": 2592000,
|
||||
"session_refresh_time": 18000,
|
||||
"localOnly": false,
|
||||
"enableLocalMode": true,
|
||||
"localModeSocketLocation": "/var/tmp/focalboard_local.socket"
|
||||
}
|
||||
23
apps/focalboard/7.11.4/docker-compose.yml
Normal file
23
apps/focalboard/7.11.4/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
services:
|
||||
focalboard:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8000"
|
||||
volumes:
|
||||
- "./data/config.json:/opt/focalboard/config.json" #sqlite
|
||||
#- "./data/postgres-config.json:/opt/focalboard/config.json" #postgres,需要修改对应数据库信息
|
||||
- fbdata:/opt/focalboard/data
|
||||
image: mattermost/focalboard:7.11.4
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
volumes:
|
||||
fbdata:
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user