mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-28 03:11:01 +00:00
62 lines
2 KiB
YAML
62 lines
2 KiB
YAML
# GoToSocial
|
|
# Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Affero General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Affero General Public License for more details.
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
###################
|
|
##### CONFIG ######
|
|
###################
|
|
|
|
# String. Log level to use throughout the application. Must be lower-case.
|
|
# Options: ["debug","info","warn","error","fatal"]
|
|
# Default: "info"
|
|
logLevel: "info"
|
|
|
|
# String. Application name to use internally.
|
|
# Examples: ["My Application","gotosocial"]
|
|
# Default: "gotosocial"
|
|
applicationName: "gotosocial"
|
|
|
|
# Config pertaining to the Gotosocial database connection
|
|
db:
|
|
# String. Database type.
|
|
# Options: ["postgres"]
|
|
# Default: "postgres"
|
|
type: "postgres"
|
|
|
|
# String. Database address. Can be either an ipv4 address or a hostname.
|
|
# Examples: ["localhost","my.db.host","127.0.0.1","192.111.39.110"]
|
|
# Default: "localhost"
|
|
address: "127.0.0.1"
|
|
|
|
# Int. Port for database connection.
|
|
# Examples: [5432, 1234, 6969]
|
|
# Default: 5432
|
|
port: 5432
|
|
|
|
# String. Username for the database connection.
|
|
# Examples: ["mydbuser","postgres","gotosocial"]
|
|
# Default: "postgres"
|
|
user: "postgres"
|
|
|
|
# REQUIRED
|
|
# String. Password to use for the database connection
|
|
# Examples: ["password123","verysafepassword","postgres"]
|
|
# Default: ""
|
|
password: ""
|
|
|
|
# String. Name of the database to use within the provided database type.
|
|
# Examples: ["mydb","postgres","gotosocial"]
|
|
# Default: "postgres"
|
|
database: "postgres"
|