docs(examples): rename cache service in compose examples to match CACHE env

This commit is contained in:
2026-09-12 15:02:20 +02:00
parent b5c5629cca
commit c3c6e96774
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
version: '3.8' version: '3.8'
services: services:
redis: cache:
image: valkey/valkey:7-alpine image: valkey/valkey:7-alpine
# This is required to stay in RAM only. # This is required to stay in RAM only.
command: valkey-server --save "" --appendonly no command: valkey-server --save "" --appendonly no
@@ -15,7 +15,7 @@ services:
app: app:
image: cupcakearmy/cryptgeon:latest image: cupcakearmy/cryptgeon:latest
depends_on: depends_on:
- redis - cache
proxy: proxy:
image: nginx:alpine image: nginx:alpine
+2 -2
View File
@@ -107,7 +107,7 @@ networks:
external: true external: true
services: services:
redis: cache:
image: valkey/valkey:7-alpine image: valkey/valkey:7-alpine
# This is required to stay in RAM only. # This is required to stay in RAM only.
command: valkey-server --save "" --appendonly no command: valkey-server --save "" --appendonly no
@@ -122,7 +122,7 @@ services:
image: cupcakearmy/cryptgeon:latest image: cupcakearmy/cryptgeon:latest
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- redis - cache
environment: environment:
SIZE_LIMIT: 4 MiB SIZE_LIMIT: 4 MiB
networks: networks:
+4 -4
View File
@@ -16,7 +16,7 @@ networks:
external: true external: true
services: services:
redis: cache:
image: valkey/valkey:7-alpine image: valkey/valkey:7-alpine
# This is required to stay in RAM only. # This is required to stay in RAM only.
command: valkey-server --save "" --appendonly no command: valkey-server --save "" --appendonly no
@@ -31,7 +31,7 @@ services:
image: cupcakearmy/cryptgeon:latest image: cupcakearmy/cryptgeon:latest
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- redis - cache
networks: networks:
- default - default
- proxy - proxy
@@ -60,7 +60,7 @@ services:
volumes: volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro" - "/var/run/docker.sock:/var/run/docker.sock:ro"
redis: cache:
image: valkey/valkey:7-alpine image: valkey/valkey:7-alpine
# This is required to stay in RAM only. # This is required to stay in RAM only.
command: valkey-server --save "" --appendonly no command: valkey-server --save "" --appendonly no
@@ -74,7 +74,7 @@ services:
cryptgeon: cryptgeon:
image: cupcakearmy/cryptgeon image: cupcakearmy/cryptgeon
depends_on: depends_on:
- redis - cache
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.cryptgeon.rule=Host(`cryptgeon.localhost`)" - "traefik.http.routers.cryptgeon.rule=Host(`cryptgeon.localhost`)"