-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1.01 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
version: "3.0"
services:
web:
build: ../PXApp
ports:
- "80:80"
networks:
vnet_front:
ipv4_address: 10.10.10.2
consumidor:
build: ../Projeto X/Consumidor
environment:
- AWS_ACCESS_KEY_ID=${aws_access_key_id}
- AWS_SECRET_ACCESS_KEY=${aws_secret_access_key}
- AWS_REGION=${aws_region}
- NOME_FILA=${nome_fila}
- NOMETABELA=${nome_tabela}
- NODE_ENV=prod
ports:
- "81:80"
networks:
vnet_front:
ipv4_address: 10.10.10.3
produtor:
build: ../Projeto X/Produtor
environment:
- AWS_ACCESS_KEY_ID=${aws_access_key_id}
- AWS_SECRET_ACCESS_KEY=${aws_secret_access_key}
- AWS_REGION=${aws_region}
- NOME_FILA=${nome_fila}
- NOMETABELA=${nome_tabela}
- PORT=${port}
- NODE_ENV=prod
ports:
- "82:80"
networks:
vnet_front:
ipv4_address: 10.10.10.4
networks:
vnet_front:
ipam:
driver: default
config:
- subnet: 10.10.10.0/16