-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
66 lines (63 loc) · 1.28 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3.7"
services:
# Edge API
api:
build:
context: .github
dockerfile: pnpm.dockerfile
command: pnpm dev
working_dir: /app/services/api
volumes:
- ./:/app
ports:
- 1234:1234
depends_on:
- db
- minio
# DB_IP variable to 1
environment:
- ENVIRONMENT=development
- DB_IP=scylla:9042
- DB_DATACENTER=datacenter1
- INSTANCE_ID=1
- REDIS_IP=db
- SIGNALFS_HOST=minio
# Frontend (Developmment Mode)
app:
build:
context: .github
dockerfile: pnpm.dockerfile
command: pnpm dev --host
working_dir: /app/web/app
volumes:
- ./:/app
ports:
- 5173:5173
depends_on:
- db
- minio
# DB_IP variable to 1
environment:
- ENVIRONMENT=development
- VITE_API_URL=http://localhost:1234
# Redis
db:
image: redis:alpine
ports:
- "6379:6379"
# Object Storage
minio:
image: minio/minio
command: server /data --console-address ":9001"
ports:
- "9000:9000"
- "9001:9001"
environment:
- MINIO_ROOT_USER=minio
- MINIO_ROOT_PASSWORD=wachtwoord
# ScyllaDB
scylla:
image: scylladb/scylla
command: ["--developer-mode", "1", "--smp", "1"]
ports:
- "9042:9042"