xoxys.redis/defaults/main.yml
Robert Kaussow 2c2b3f789c
Some checks failed
continuous-integration/drone/pr Build is failing
use dedicated systemd env file
2023-08-05 23:49:35 +02:00

84 lines
2.2 KiB
YAML

---
redis_image: "docker.io/library/redis:latest"
# @var redis_volumes:description: > Define required docker volumes.
# @end
# @var redis_volumes:example: >
# redis_volumes:
# - name: data
# # target location inside the container
# dest: /data
# type: volume
# @end
redis_volumes:
- name: "redis-data"
dest: /data
# @var redis_network:description: >
# Name of the container network. If the name ends with `.network`, the network will be created with the specified configuration.
# Otherwise, the network must already exist and the container will be attached to the network.
# @end
redis_network: "redis.network"
redis_network_ipv6_enabled: False
# @var redis_network_ipv6_subnet:value: $ "_unset_"
# @var redis_network_ipv6_subnet:example: $ "fd00:0:0:2::/64"
# @var redis_network_ipv6_gateway:value: $ "_unset_"
# @var redis_network_ipv6_gateway:example: $ "fd00:0:0:2::1"
# @var redis_network_ipv4_subnet:value: $ "_unset_"
# @var redis_network_ipv4_gateway:value: $ "_unset_"
# @var redis_exposed_ports:description: >
# Ports you want to publish outside of Docker. Redis is running on `6379` inside of the container.
# @end
redis_exposed_ports: []
redis_cap_add: []
redis_cap_drop: []
redis_podman_args:
- --pids-limit=-1
- --health-cmd='["redis-cli ping | grep PONG"]'
- --health-interval=5s
- --health-timeout=5s
- --health-retries=6
- --health-on-failure=kill
redis_log_level: "notice"
redis_timeout: 300
redis_databases: 16
# @var redis_save:description: Set to an empty set to disable persistence (saving the DB to disk).
redis_save:
- 900 1
- 300 10
- 60 10000
redis_rdbcompression: "yes"
redis_appendonly: "no"
redis_appendfsync: "everysec"
# @var redis_requirepass:description: Require authentication to Redis with a password.
# @var redis_requirepass:value: $ "_unset_"
# @var redis_disabled_commands:description: Disable certain Redis commands for security reasons.
redis_disabled_commands: []
# @var redis_disabled_commands:example: >
# redis_disabled_commands:
# - FLUSHDB
# - FLUSHALL
# - KEYS
# - PEXPIRE
# - DEL
# - CONFIG
# - SHUTDOWN
# - BGREWRITEAOF
# - BGSAVE
# - SAVE
# - SPOP
# - SREM
# - RENAME
# - DEBUG
# @end