-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (43 loc) · 917 Bytes
/
docker-compose.yaml
File metadata and controls
48 lines (43 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: zenstack-cache
volumes:
redis-data:
redis-insight:
networks:
workspace:
external: false
services:
workspace:
container_name: zenstack-cache-workspace
image: mcr.microsoft.com/devcontainers/javascript-node:20
volumes:
- ..:/workspace:cached
env_file: ./.env
command: sleep infinity
networks:
- workspace
redis:
container_name: zenstack-cache-redis
image: redis:7.0
command: redis-server
networks:
- workspace
ports:
- 6379:6379
volumes:
- redis-data:/data
healthcheck:
test: ['CMD-SHELL', 'redis-cli ping | grep PONG']
interval: 5s
timeout: 5s
retries: 5
redis-insight:
container_name: zenstack-cache-redis-insight
image: redis/redisinsight:3.0
depends_on:
- redis
networks:
- workspace
ports:
- 5540:5540
volumes:
- redis-insight:/data