We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bcce2c commit 4c5d63aCopy full SHA for 4c5d63a
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM node:18.19-alpine AS base
+FROM node:20-alpine AS base
2
3
# Install tini & build dependencies
4
RUN apk add --no-cache tini && \
docker-compose.yml
@@ -16,6 +16,15 @@ services:
16
cpus: "2"
17
memory: 2G
18
19
+ redis:
20
+ container_name: redis
21
+ image: redis:latest
22
+ restart: always
23
+ ports:
24
+ - 6379:6379
25
+ volumes:
26
+ - redis_data:/data
27
+
28
engine:
29
build:
30
dockerfile: Dockerfile
@@ -27,6 +36,7 @@ services:
36
- 3005:3005
37
depends_on:
38
- db
39
+ - redis
40
deploy:
31
41
resources:
32
42
limits:
@@ -38,3 +48,4 @@ services:
48
49
volumes:
50
db_data:
51
+ redis_data:
0 commit comments