Skip to content

Commit f48c791

Browse files
committed
use network:host for redis too
this is consistent with the other services and allows connecting via ipv6-localhost too
1 parent 1bee964 commit f48c791

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/roles/redis/tasks/main.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
command: ["run-redis", "--supervised", "systemd"]
2424
volumes:
2525
- /var/lib/redis:/data:Z
26-
ports:
27-
- "6379:6379"
26+
network: host
2827
quadlet_options:
2928
- |
3029
[Install]

0 commit comments

Comments
 (0)