added gotosocial
This commit is contained in:
parent
a4ec23afb4
commit
a8f15f6a63
45
gotosocial/config.yaml
Normal file
45
gotosocial/config.yaml
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
###########################
|
||||||
|
##### GENERAL CONFIG ######
|
||||||
|
###########################
|
||||||
|
|
||||||
|
# Default: ["127.0.0.1/32", "::1"] (localhost ipv4 + ipv6)
|
||||||
|
trusted-proxies:
|
||||||
|
- "127.0.0.1/32"
|
||||||
|
- "::1"
|
||||||
|
|
||||||
|
###########################
|
||||||
|
##### INSTANCE CONFIG #####
|
||||||
|
###########################
|
||||||
|
|
||||||
|
# https://docs.gotosocial.org/en/latest/configuration/
|
||||||
|
instance-languages: ["it", "en-gb"]
|
||||||
|
|
||||||
|
# String. Federation mode to use for this instance.
|
||||||
|
#
|
||||||
|
# "blocklist" -- open federation by default. Only instances that are explicitly
|
||||||
|
# blocked will be denied (unless they are also explicitly allowed).
|
||||||
|
#
|
||||||
|
# "allowlist" -- closed federation by default. Only instances that are explicitly
|
||||||
|
# allowed will be able to interact with this instance.
|
||||||
|
instance-federation-mode: "blocklist"
|
||||||
|
|
||||||
|
# Bool. This flag will inject a Mastodon version into the version field that
|
||||||
|
# is included in /api/v1/instance. This version is often used by Mastodon clients
|
||||||
|
# to do API feature detection. By injecting a Mastodon compatible version, it is
|
||||||
|
# possible to cajole those clients to behave correctly with GoToSocial.
|
||||||
|
#
|
||||||
|
# Options: [true, false]
|
||||||
|
# Default: false
|
||||||
|
instance-inject-mastodon-version: true
|
||||||
|
|
||||||
|
###########################
|
||||||
|
##### ACCOUNTS CONFIG #####
|
||||||
|
###########################
|
||||||
|
|
||||||
|
accounts-registration-open: false
|
||||||
|
|
||||||
|
###########################
|
||||||
|
##### STATUSES CONFIG #####
|
||||||
|
###########################
|
||||||
|
|
||||||
|
statuses-max-chars: 500
|
41
gotosocial/docker-compose.yml
Normal file
41
gotosocial/docker-compose.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
services:
|
||||||
|
gotosocial:
|
||||||
|
image: superseriousbusiness/gotosocial:latest
|
||||||
|
container_name: gotosocial
|
||||||
|
user: 1000:1000
|
||||||
|
networks:
|
||||||
|
- gotosocial
|
||||||
|
environment:
|
||||||
|
# Change this to your actual host value.
|
||||||
|
GTS_HOST: social.ilnostropianetaselvaggio.it
|
||||||
|
GTS_DB_TYPE: sqlite
|
||||||
|
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
|
||||||
|
GTS_CONFIG_PATH: /gotosocial/config.yaml
|
||||||
|
# Change this to true if you're not running
|
||||||
|
# GoToSocial behind a reverse proxy.
|
||||||
|
GTS_LETSENCRYPT_ENABLED: "false"
|
||||||
|
# Set your email address here if you
|
||||||
|
# want to receive letsencrypt notices.
|
||||||
|
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
|
||||||
|
GTS_WAZERO_COMPILATION_CACHE: /gotosocial/.cache
|
||||||
|
## For reverse proxy setups:
|
||||||
|
GTS_TRUSTED_PROXIES: "127.0.0.1/32"
|
||||||
|
## Set the timezone of your server:
|
||||||
|
TZ: Europe/Rome
|
||||||
|
ports:
|
||||||
|
## For reverse proxy setups:
|
||||||
|
- "8080:8080"
|
||||||
|
volumes:
|
||||||
|
- ./data:/gotosocial/storage
|
||||||
|
- ./.cache:/gotosocial/.cache
|
||||||
|
## https://docs.gotosocial.org/en/latest/configuration/
|
||||||
|
- type: bind
|
||||||
|
source: ./config.yaml
|
||||||
|
target: /gotosocial/config.yaml
|
||||||
|
read_only: true
|
||||||
|
restart: "always"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
gotosocial:
|
||||||
|
ipam:
|
||||||
|
driver: default
|
Loading…
x
Reference in New Issue
Block a user