Skip to content

Commit ab2d131

Browse files
committed
Add redis service to app.yml
1 parent 8f6278c commit ab2d131

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

app.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,19 @@ services:
180180
networks:
181181
- backend
182182

183+
redis:
184+
# Eventually we'll probably want to use redis/redis-stack-server:7.4.0-v1 here,
185+
# which excludes the RedisInsight GUI front-end.
186+
image: redis/redis-stack:7.4.0-v1
187+
environment:
188+
REDIS_ARGS: '--maxmemory 4GB --maxmemory-policy allkeys-lru'
189+
ports:
190+
- '6379:6379'
191+
- '8001:8001'
192+
deploy:
193+
resources:
194+
limits:
195+
memory: 4.2GB
183196

184197
migrate:
185198
image: registry.gitlab.com/finestructure/swiftpackageindex:${VERSION}

0 commit comments

Comments
 (0)