-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
94 lines (84 loc) · 1.75 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
94 lines (84 loc) · 1.75 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
services:
nginx:
ports:
- "80:80"
- "443:443"
- "127.0.0.1:8080:8080"
volumes:
- ./nginx/conf.d/frontend.dev.conf:/etc/nginx/conf.d/frontend.conf:ro
extra_hosts:
- "host.docker.internal:host-gateway"
postgres-users:
ports:
- "127.0.0.1:5434:5432"
users-service:
build:
dockerfile: Dockerfile.dev
ports:
- "8001:8001"
volumes:
- ./users-service:/app
- /app/__pycache__
command: >
uvicorn main:app
--host 0.0.0.0
--port 8001
--reload
postgres-projects:
ports:
- "5433:5432"
projects-service:
build:
dockerfile: Dockerfile.dev
ports:
- "8003:8003"
volumes:
- ./projects-service:/app
- /app/tmp
command: air -c .air.toml
collab-service:
build:
dockerfile: Dockerfile.dev
environment:
RUST_LOG: debug
volumes:
- ./collab-service:/app
- collab_build_cache:/app/target
command: air -c .air.toml
file-data-service:
build:
dockerfile: Dockerfile.dev
environment:
RUST_LOG: debug
ports:
- "50051:50051"
volumes:
- ./file-data-service/src:/app/src
- ./proto:/app/proto
- file_data_target:/app/target
command: sh -c "touch src/main.rs && cargo watch -x run"
postgres-assistant:
ports:
- "5435:5432"
assistant-service:
build:
dockerfile: Dockerfile.dev
environment:
LOG_LEVEL: debug
ports:
- "8000:8000"
volumes:
- ./assistant-service:/app
command: >
uvicorn app.main:app
--host 0.0.0.0
--port 8000
--reload
minio:
ports:
- "9000:9000"
- "9001:9001"
mem_limit: 512m
volumes:
collab_build_cache:
file_data_target: