services: gotosocial: image: superseriousbusiness/gotosocial:latest container_name: gotosocial user: 1000:1000 mem_limit: 2g 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: - 127.0.0.1:3014: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 # Create users # https://docs.gotosocial.org/en/latest/getting_started/user_creation/