--- # Default variables for the mastodon role # Infrastructure # Ansible instructions to deploy the infrastructure # Copyright (C) 2019-2020 Christoph (Sheogorath) Kern # Copyright (C) 2020 Saibotk # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3 of the License. # # 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 General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # The install location mastodon_install_location: /srv/mastodon # The container data volume mount locations mastodon_database_location: "{{ mastodon_install_location }}/postgres" mastodon_public_location: "{{ mastodon_install_location }}/public" mastodon_redis_location: "{{ mastodon_install_location }}/redis" mastodon_elastic_location: "{{ mastodon_install_location }}/elasticsearch" mastodon_nginx_location: "{{ mastodon_install_location }}/nginx" # The certresolver that is used by traefik for this domain mastodon_traefik_certresolver: letsencrypt_http # The domain that traefik will server mastodon under mastodon_domain: mastodon.example.com # The mastodon configuration (see mastodon documentation for a reference / the `templates/.env.production` file) mastodon_config: local_domain: "{{ mastodon_domain }}" secret_key_base: undef otp_secret: undef vapid_private_key: undef vapid_public_key: undef smtp_server: localhost smtp_login: undef smtp_password: undef smtp_from_address: mastodon@example.com enable_elasticsearch: false # Should we automatically adjust the needed sysctl setting for vm.max_map_count? mastodon_elasticsearch_adjust_sysctl: true # Container versions # renovate: depName=ghcr.io/mastodon/mastodon mastodon_version: 4.2.10 # renovate: depName=docker.io/library/postgres mastodon_database_version: 15.7 # renovate: depName=docker.io/library/redis mastodon_redis_version: 7.4 # renovate: depName=docker.elastic.co/elasticsearch/elasticsearch mastodon_elasticsearch_version: 7.17.24 # Container tag definitions mastodon_image_version: "v{{ mastodon_version }}" mastodon_database_image_version: "{{ mastodon_database_version }}-alpine" mastodon_redis_image_version: "{{ mastodon_redis_version }}-alpine" mastodon_elasticsearch_image_version: "{{ mastodon_elasticsearch_version }}"