Skip to content

Commit 6fd0d74

Browse files
committed
update redis conf
1 parent 09c231a commit 6fd0d74

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

infrastructure/aqua/deploy-aqua.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@
5555
group: "{{postgres_gid}}"
5656
recurse: yes
5757
when: inventory_hostname in groups['clickhouse']
58+
59+
60+
- name: Create Data Dir For redis
61+
become: true
62+
ansible.builtin.file:
63+
path: "{{redis_dir_name}}"
64+
state: directory
65+
mode: "0775"
66+
owner: "{{postgres_uid}}"
67+
group: "{{postgres_gid}}"
68+
recurse: yes
69+
when: inventory_hostname in groups['redis']
5870

5971

6072
- name: Create Data Dir For Clickhouse Logs

infrastructure/aqua/docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ services:
7878
timeout: 10s
7979
networks:
8080
- databuddy_aqua
81+
volumes:
82+
- "{{redis_dir_name}}:/data"
8183
stop_grace_period: 20m
8284
stop_signal: SIGKILL
8385
expose:

0 commit comments

Comments
 (0)