Add firewall rule to allow access to Redis on Zerotier network

This commit is contained in:
Greg Karékinian
2023-06-20 15:19:34 +02:00
parent 76a952dbac
commit b19fca6e7c
5 changed files with 33 additions and 1 deletions

View File

@@ -7,6 +7,8 @@ include_recipe 'redisio::default'
include_recipe 'redisio::enable'
unless node.chef_environment == "development"
include_recipe "kosmos_redis::firewall"
# Backup the databases to S3
databases = node['redisio']['servers'].map do |server, _|
"dump-#{server['port']}"