-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (40 loc) · 794 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (40 loc) · 794 Bytes
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
version: "3"
services:
gateway:
env_file:
./.env
build: ./gateway/.
ports:
- "${GATEWAY_PORT}:${GATEWAY_PORT}"
customer:
build: ./customer-service/.
ports:
- "${CUSTOMER_PORT}:${CUSTOMER_PORT}"
depends_on:
- mongo
user:
build: ./user-service/.
ports:
- "${USER_PORT}:${USER_PORT}"
depends_on:
- mongo
photo:
build: ./photo-service/.
ports:
- "${PHOTO_PORT}:${PHOTO_PORT}"
depends_on:
- minio
mongo:
image: mongo
ports:
- "${MONGO_PORT}:27017"
volumes:
- c:/data/db:/data/db
- c:/data/configdb:/data/configdb
minio:
image: minio/minio
volumes:
- c:/data/data1:/data1
ports:
- "${STORAGE_PORT}:9000"
command: server minio/data1