added focalboard config
This commit is contained in:
17
focalboard/config.json
Normal file
17
focalboard/config.json
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"serverRoot": "https://focalboard.thelazyoxymoron.me",
|
||||||
|
"port": 8000,
|
||||||
|
"dbtype": "postgres",
|
||||||
|
"dbconfig": "postgres://thelazyoxymoron:changeme@focalboard-db/focalboard?sslmode=disable&connect_timeout=10",
|
||||||
|
"postgres_dbconfig": "dbname=focalboard sslmode=disable",
|
||||||
|
"useSSL": false,
|
||||||
|
"webpath": "./pack",
|
||||||
|
"filespath": "./files",
|
||||||
|
"telemetry": false,
|
||||||
|
"prometheus_address": ":9092",
|
||||||
|
"session_expire_time": 2592000,
|
||||||
|
"session_refresh_time": 18000,
|
||||||
|
"localOnly": false,
|
||||||
|
"enableLocalMode": true,
|
||||||
|
"localModeSocketLocation": "/var/tmp/focalboard_local.socket"
|
||||||
|
}
|
37
focalboard/docker-compose.yml
Normal file
37
focalboard/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
focalboard:
|
||||||
|
image: mattermost/focalboard:latest
|
||||||
|
container_name: focalboard-app
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- focalboard-db
|
||||||
|
volumes:
|
||||||
|
- ./config.json:/opt/focalboard/config.json
|
||||||
|
- ./focalboard-app-backup:/var/lib/focalboard
|
||||||
|
environment:
|
||||||
|
- VIRTUAL_HOST=focalboard.thelazyoxymoron.me
|
||||||
|
- LETSENCRYPT_HOST=focalboard.thelazyoxymoron.me
|
||||||
|
- VIRTUAL_PORT=8000
|
||||||
|
networks:
|
||||||
|
- proxy-network
|
||||||
|
- postgres-database
|
||||||
|
|
||||||
|
focalboard-db:
|
||||||
|
image: postgres:13
|
||||||
|
restart: always
|
||||||
|
container_name: focalboard-postgres
|
||||||
|
volumes:
|
||||||
|
- "./focalboard-data:/var/lib/postgresql/data"
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: focalboard
|
||||||
|
POSTGRES_USER: thelazyoxymoron
|
||||||
|
POSTGRES_PASSWORD: changeme
|
||||||
|
networks:
|
||||||
|
- postgres-database
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy-network:
|
||||||
|
external: true
|
||||||
|
postgres-database:
|
Reference in New Issue
Block a user