forked from lacmus-foundation/lacmus-web-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·56 lines (48 loc) · 1.1 KB
/
docker-compose.yml
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
version: '3.6'
services:
identity.api:
container_name: 'iidentity.api'
image: 'identity.api'
build:
context: ./API_Identity
dockerfile: apiIdentity.development.dockerfile
volumes:
- ./API_Identity:/var/www/apiIdentity
depends_on:
- "postgres"
networks:
- api-identity-network
postgres:
container_name: 'postgres'
image: postgres
environment:
POSTGRES_PASSWORD: password
networks:
- api-identity-network
retinanet.api:
container_name: 'retinanet.api'
image: 'retinanet.api'
build:
context: ./API_RetinaNet
dockerfile: apiRetinaNet.development.dockerfile
ports:
- "5001:5001"
networks:
- api-identity-network
gateway:
container_name: 'gateway'
image: geatway
build:
context: ./API_Gateway
dockerfile: apiGateway.development.dockerfile
volumes:
- ./API_Gateway:/var/www/apiGateway
ports:
- "80:80"
depends_on:
- "identity.api"
networks:
- api-identity-network
networks:
api-identity-network:
driver: bridge