-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (57 loc) · 1.08 KB
/
Copy pathdocker-compose.yml
File metadata and controls
64 lines (57 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
64
version: '3.8'
services:
postgres:
image: postgres:latest
environment:
POSTGRES_USER: logiconnect
POSTGRES_PASSWORD: logiconnect@12345
POSTGRES_DB: logiconnectDB
ports:
- "5432:5432"
redis:
image: redis/redis-stack:latest
ports:
- "6379:6379"
- "8001:8001"
user-service:
build:
context: ./user-service
ports:
- "3001:3001"
env_file:
- ./user-service/.env.docker
depends_on:
- postgres
- redis
driver-service:
build:
context: ./driver-service
ports:
- "3002:3002"
env_file:
- ./driver-service/.env.docker
depends_on:
- postgres
- redis
admin-service:
build:
context: ./admin-service
ports:
- "3003:3003"
env_file:
- ./admin-service/.env.docker
depends_on:
- postgres
- redis
api-gateway:
build:
context: ./api-gateway
ports:
- "3000:3000"
depends_on:
- user-service
- driver-service
- admin-service
networks:
default:
driver: bridge