-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (56 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
63 lines (56 loc) · 1.08 KB
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
version: "3.9"
services:
postgres:
image: postgres:16
restart: always
environment:
POSTGRES_USER: fairy
POSTGRES_PASSWORD: fairy
POSTGRES_DB: fairy
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
minio:
image: minio/minio
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: password
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_data:/data
backend:
build: ./backend
ports:
- "3001:3000"
volumes:
- ./backend:/app
depends_on:
- postgres
- minio
frontend:
build: ./frontend
command: npm run dev -- --host
volumes:
- ./frontend:/app
- /app/node_modules
ports:
- "3000:3000"
depends_on:
- backend
admin:
build: ./admin-panel
command: npm run dev -- --host
volumes:
- ./admin-panel:/app
- /app/node_modules
ports:
- "3002:3000"
depends_on:
- backend
volumes:
postgres_data:
minio_data: