From 1bb0822ec135d8331bfb455c4154847838db3e86 Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Fri, 12 Jul 2024 14:40:53 +0200 Subject: [PATCH] Create compose.yaml --- ubuntu/redis/compose.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ubuntu/redis/compose.yaml diff --git a/ubuntu/redis/compose.yaml b/ubuntu/redis/compose.yaml new file mode 100644 index 0000000..4a5a564 --- /dev/null +++ b/ubuntu/redis/compose.yaml @@ -0,0 +1,15 @@ +services: + redis: + image: "redis:6.2-alpine" + container_name: "redis" + hostname: "redis" + restart: always + volumes: + - redis:/data + ports: + - 6379:6379 + network_mode: bridge + +volumes: + redis: +