-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (44 loc) · 931 Bytes
/
docker-compose.yml
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
version: "3.9"
services:
urban-memory:
image: node:${NODE_VERSION:-16}
ports:
- "3000:3000"
- "9229:9229"
volumes:
- type: bind
source: ./urban-memory
target: /app
working_dir: /app
command: yarn serve
depends_on:
- redis
environment:
- REDIS_URL=redis://redis:6379
glowing-fiesta:
image: node:${NODE_VERSION:-16}
ports:
- "4200:4200"
volumes:
- type: bind
source: ./glowing-fiesta
target: /app
working_dir: /app
command: yarn start
depends_on:
- redis
- urban-memory
environment:
- REACT_APP_PROXY_HOST=http://host.docker.internal:3000
redis:
image: redis
ports:
- "6379:6379"
redis-commander:
image: ghcr.io/joeferner/redis-commander
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- "8081:8081"
depends_on:
- redis