-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
51 lines (48 loc) · 983 Bytes
/
compose.yaml
File metadata and controls
51 lines (48 loc) · 983 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
42
43
44
45
46
47
48
49
50
51
services:
db:
image: postgres:15
restart: always
environment:
TZ: America/Sao_Paulo
POSTGRES_USER: root
POSTGRES_PASSWORD: root123@
POSTGRES_DB: ride_wise
ports:
- "5432:5432"
networks:
- rise-network
backend:
build:
context: ./backend
dockerfile: Dockerfile
restart: always
environment:
NODE_ENV: ${NODE_ENV}
PG_HOST: ${PG_HOST}
PG_PORT: ${PG_PORT}
PG_USER: ${PG_USER}
PG_PASSWORD: ${PG_PASSWORD}
PG_DB_NAME: ${PG_DB_NAME}
API_GOOGLE_KEY: ${API_GOOGLE_KEY}
HOST: ${HOST}
PORT: ${PORT}
APP_KEY: ${APP_KEY}
DRIVE_DISK: ${DRIVE_DISK}
ports:
- "8080:3333"
depends_on:
- db
networks:
- rise-network
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
restart: always
ports:
- "80:80"
networks:
- rise-network
networks:
rise-network:
driver: bridge