/
docker-compose.dev.yml
60 lines (54 loc) 路 1.05 KB
/
docker-compose.dev.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.7"
services:
e2e:
image: cypress
build:
dockerfile: Dockerfile.dev.e2e
context: ./
container_name: cypress
depends_on:
- frontend
command: npx cypress run
frontend:
image: laudspeaker:latest
depends_on:
- backend
ports:
- "3000:3000"
stdin_open: true
tty: true
backend:
image: laudspeaker:api-latest
ports:
- "3001:3001"
depends_on:
- redis
- postgres
- mongo
- clickhouse
redis:
image: redis:alpine
command: redis-server
ports:
- "6379:6379"
environment:
- REDIS_REPLICATION_MODE=master
postgres:
image: postgres:14.4-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: laudspeaker
ports:
- "5432:5432"
restart: unless-stopped
mongo:
image: "mongo:latest"
ports:
- "27017:27017"
clickhouse:
image: clickhouse/clickhouse-server:latest
restart: on-failure
ports:
- "8123:8123"
- "9000:9000"