From 304378715de8d5904073e2815440e551969aaa5b Mon Sep 17 00:00:00 2001 From: akanealw Date: Sat, 28 May 2022 23:47:50 -0500 Subject: [PATCH] added redis --- docker-compose.yml | 11 +++++++++++ traefik.yml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c2559b8..d090c05 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -108,6 +108,17 @@ services: - ./appdata/privoxyvpn/config:/config - /etc/localtime:/etc/localtime:ro + redis: + container_name: redis + hostname: redis + image: "redis:alpine" + ports: + - "6379:6379" + restart: always + volumes: + - ./appdata/redis/data:/var/lib/redis + - ./appdata/redis/redis.conf:/usr/local/etc/redis/redis.conf + traefik: container_name: traefik image: traefik:2.5 diff --git a/traefik.yml b/traefik.yml index 7dea0b6..097aa1a 100644 --- a/traefik.yml +++ b/traefik.yml @@ -47,7 +47,7 @@ providers: exposedByDefault: false redis: endpoints: - - redis:6379 + - 192.168.1.30:6379 # Enable traefik ui api: