-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
45 lines (39 loc) · 1 KB
/
docker-compose.yaml
File metadata and controls
45 lines (39 loc) · 1 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
version: '3.7'
services:
api-gateway:
image: nginx:latest
volumes:
- ./api-gateway/default.conf:/etc/nginx/nginx.conf
ports:
- 80:80
food-service:
build:
context: ./services/graphql
dockerfile: DockerFile
volumes:
- ./services/graphql/src:/food-service/src
env_file:
- ./services/graphql/.env.docker
road-service:
build:
context: ./services/restAPI
dockerfile: DockerFile
volumes:
- ./services/restAPI/src:/road-service/src
env_file:
- ./services/restAPI/.env.docker
eatsme-mysql:
image: mysql:latest
environment:
MYSQL_DATABASE: 'eatsMe'
MYSQL_ROOT_PASSWORD: 'root'
ports:
- 3306:3306
eatsme-mongodb:
image: mongo:5
ports:
- 27017:27017
eatme-redis:
image: redis:latest
ports:
- 6379:6379