Adjust Funkwhale documentation inaccuracies

These are blind adjustements, without having tested them.

Funkwhale runs multiple containers and it's possible that a few of the
others (e.g. the Celery worker) also need access to Redis. If so,
additional adjustments would be necessary.
This commit is contained in:
Slavi Pantaleev 2023-11-29 17:13:53 +02:00
parent f574b6ee89
commit 52050c09a8

View file

@ -76,13 +76,13 @@ redis_enabled: true
# Point funkwhale to the shared Redis instance # Point funkwhale to the shared Redis instance
funkwhale_config_redis_hostname: "{{ redis_identifier }}" funkwhale_config_redis_hostname: "{{ redis_identifier }}"
# Make sure the funkwhale service (mash-funkwhale.service) starts after the shared Redis service (mash-redis.service) # Make sure the funkwhale API service (mash-funkwhale-api.service) starts after the shared Redis service
funkwhale_systemd_required_services_list_custom: funkwhale_api_systemd_required_services_list_custom:
- "{{ redis_identifier }}.service" - "{{ redis_identifier }}.service"
# Make sure the funkwhale container is connected to the container network of the shared Redis service (mash-redis) # Make sure the funkwhale API service (mash-funkwhale-api.service) is connected to the container network of the shared Redis service
funkwhale_container_additional_networks_custom: funkwhale_api_container_additional_networks_custom:
- "{{ redis_identifier }}" - "{{ redis_container_network }}"
######################################################################## ########################################################################
# # # #
@ -158,17 +158,15 @@ Then, adjust your main inventory host's variables file (`inventory/host_vars/fun
# Base configuration as shown above # Base configuration as shown above
# Point funkwhale to its dedicated Redis instance # Point funkwhale to its dedicated Redis instance
funkwhale_environment_variable_redis_host: mash-funkwhale-redis funkwhale_config_redis_hostname: mash-funkwhale-redis
funkwhale_environment_variable_redis_cache_host: mash-funkwhale-redis
# Make sure the funkwhale service (mash-funkwhale.service) starts after its dedicated Redis service (mash-funkwhale-redis.service) # Make sure the funkwhale API service (mash-funkwhale-api.service) starts after its dedicated Redis service
funkwhale_systemd_required_services_list_custom: funkwhale_api_systemd_required_services_list_custom:
- "mash-funkwhale-redis.service" - "mash-funkwhale-redis.service"
# Make sure the funkwhale container is connected to the container network of its dedicated Redis service (mash-funkwhale-redis) # Make sure the funkwhale API service (mash-funkwhale-api.service) is connected to the container network of its dedicated Redis service
funkwhale_container_additional_networks_custom: funkwhale_api_container_additional_networks_custom:
- "mash-funkwhale-redis" - "mash-funkwhale-redis"
######################################################################## ########################################################################