From 22ab3689320898614e563e1d732cc9b322213dc7 Mon Sep 17 00:00:00 2001 From: Tom Naessens Date: Sun, 9 Jun 2024 21:58:43 +0200 Subject: [PATCH] Stop exposing redis port --- app/models/user.rb | 2 +- docker-compose.prod.yml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index c79f9a21..7fc1d06b 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -113,7 +113,7 @@ def generate_key def generate_key! set_key - save + save! end private diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 5ad8f18c..ca3f9283 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -45,8 +45,6 @@ services: image: redis:7-alpine volumes: - redis_data:/data - ports: - - "6379:6379" volumes: tap_data: