From a43b4828d166a5761180615f93492e8a8f6d05d5 Mon Sep 17 00:00:00 2001 From: Markus Reinhold Date: Sun, 28 Jan 2024 08:10:42 +0100 Subject: [PATCH] Move Redis image to organization (#214) Pin Redis to version 7.2 #209. --- deploy/single-server/docker-compose.yml | 3 +-- docker-compose.ci.yml | 3 +-- docker-compose.yml | 5 +---- project | 2 -- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/deploy/single-server/docker-compose.yml b/deploy/single-server/docker-compose.yml index 8598565c..c831b69a 100644 --- a/deploy/single-server/docker-compose.yml +++ b/deploy/single-server/docker-compose.yml @@ -114,8 +114,7 @@ services: - "prometheus-path=/metrics" restart: on-failure redis: - image: marein/php-gaming-website:redis - command: redis-server --appendonly yes + image: ghcr.io/gaming-platform/docker-redis:7.2 volumes: - redis:/data restart: on-failure diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml index 9e109b3f..a0790680 100644 --- a/docker-compose.ci.yml +++ b/docker-compose.ci.yml @@ -62,8 +62,7 @@ services: - proxysql.sock:/var/run/proxysql restart: on-failure redis: - image: marein/php-gaming-website:redis - command: redis-server --appendonly yes + image: ghcr.io/gaming-platform/docker-redis:7.2 volumes: - redis:/data restart: on-failure diff --git a/docker-compose.yml b/docker-compose.yml index 3b48fb1e..070a303c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -111,10 +111,7 @@ services: - "prometheus-path=/metrics" restart: on-failure redis: - build: - context: . - dockerfile: ./docker/redis/Dockerfile - command: redis-server --appendonly yes + image: ghcr.io/gaming-platform/docker-redis:7.2 volumes: - redis:/data restart: on-failure diff --git a/project b/project index 6a17ff75..8c3e9a32 100755 --- a/project +++ b/project @@ -97,7 +97,6 @@ buildProductionImages() { docker build --build-arg environment=production --file docker/php-fpm/Dockerfile --tag marein/php-gaming-website:php-fpm . docker build --file docker/traefik/Dockerfile --tag marein/php-gaming-website:traefik . docker build --file docker/nchan/Dockerfile --tag marein/php-gaming-website:nchan . - docker build --file docker/redis/Dockerfile --tag marein/php-gaming-website:redis . docker build --file docker/prometheus/Dockerfile --tag marein/php-gaming-website:prometheus . } @@ -107,7 +106,6 @@ pushProductionImages() { docker push marein/php-gaming-website:php-fpm docker push marein/php-gaming-website:traefik docker push marein/php-gaming-website:nchan - docker push marein/php-gaming-website:redis docker push marein/php-gaming-website:prometheus }