-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-dev.yml
62 lines (57 loc) · 1.37 KB
/
docker-compose-dev.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
55
56
57
58
59
60
61
62
version: '3'
services:
api_gateway:
container_name: api-gateway
build: .
command: python3 manage.py runserver 0.0.0.0:8000
volumes:
- .:/code
ports:
- "8000:8000"
networks:
- api-backend
environment:
- PATH_USER=${PATH_USER}
- FIREBASE_KEY=${FIREBASE_KEY}
db:
container_name: db
restart: always
image: postgres
environment:
- POSTGRES_NAME=${POSTGRES_NAME}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
ports:
- "5433:5432"
networks:
- api-backend
api_monitoria:
container_name: api-monitoria
depends_on:
- db
image: maismonitoria/api_monitoria:homolog
ports:
- "8001:8001"
networks:
- api-backend
environment:
- POSTGRES_NAME=${POSTGRES_NAME}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_PORT=${POSTGRES_PORT}
- POSTGRES_HOST=${POSTGRES_HOST}
frontend:
container_name: "frontend"
image: maismonitoria/frontend:dev
ports:
- "3000:3000"
environment:
- REACT_APP_PATH_KEY=${REACT_APP_PATH_KEY}
- REACT_APP_AUTH=${REACT_APP_AUTH}
- REACT_APP_GATEWAY=${REACT_APP_GATEWAY}
networks:
- api-backend
networks:
api-backend:
external:
name: api-backend