# Copyright 2019 TeamTalk Remix Team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: v1
kind: ConfigMap
metadata:
  name: teamtalk-ng-msfs
  labels:
    app: teamtalk-ng
    component: msfs
data:
  msfs.conf: |
    ListenIP=0.0.0.0		#可以监听多个IP,用;分割
    ListenPort=8700
    BaseDir=/var/lib/teamtalk-ng/msfs
    FileCnt=0
    FilesPerDir=30000
    GetThreadCount=32
    PostThreadCount=1

  log4cxx.properties: |
    log4j.rootLogger=INFO, stderr
    log4j.additivity.org.apache=false
    log4j.appender.stderr = org.apache.log4j.ConsoleAppender
    log4j.appender.stderr.Threshold = INFO
    log4j.appender.stderr.Target   = System.err
    log4j.appender.stderr.layout = org.apache.log4j.PatternLayout
    log4j.appender.stderr.layout.ConversionPattern = %d [%-5p %.16c] - %m%n
    log4j.logger.test=DEBUG, stderr
