-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (48 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
52 lines (48 loc) · 1.06 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
version: "3.7"
services:
gateway:
image: baranbartu/k-api-gateway:latest
command: sh -c "uvicorn main:app --reload --host 0.0.0.0"
build:
context: ./gateway
dockerfile: Dockerfile
env_file:
- ./gateway/.env
ports:
- 8001:8000
depends_on:
- users
- orders
- jaen
volumes:
- ./gateway:/app
users:
image: baranbartu/k-users:latest
command: sh -c "uvicorn main:app --reload --host 0.0.0.0"
build:
context: ./users
dockerfile: Dockerfile
env_file:
- ./users/.env
volumes:
- ./users:/app
orders:
image: baranbartu/k-orders:latest
command: sh -c "uvicorn main:app --reload --host 0.0.0.0"
build:
context: ./orders
dockerfile: Dockerfile
env_file:
- ./orders/.env
volumes:
- ./orders:/app
jaen:
image: baranbartu/k-jaen:latest
command: sh -c "uvicorn main:app --reload --host 0.0.0.0"
build:
context: ./jaen
dockerfile: Dockerfile
env_file:
- ./jaen/.env
volumes:
- ./jaen:/app