fix redis permissions

This commit is contained in:
CroneKorkN 2025-06-22 09:30:04 +02:00
parent dcd2ebc49c
commit 43e7c1f3e4
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
2 changed files with 9 additions and 2 deletions

View file

@ -26,9 +26,15 @@ defaults = {
'config': {
'server': {
'http_port': 8300,
'http_addr': '127.0.0.1',
'enable_gzip': True,
},
'database': {
'url': f'postgres://grafana:{postgres_password}@localhost:5432/grafana',
'type': 'postgres',
'host': '127.0.0.1:5432',
'name': 'grafana',
'user': 'grafana',
'password': postgres_password,
},
'remote_cache': {
'type': 'redis',

View file

@ -1,6 +1,7 @@
directories = {
'/etc/redis': {
'purge': True,
'owner': 'redis',
'needs': [
'pkg_apt:redis-server',
],