File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change
1
+ TZ = America/Sao_Paulo
2
+
3
+ DB_HOST = sos-rs-db
4
+ DB_PORT = 5432
5
+ DB_DATABASE_NAME = sos_rs
6
+ DB_USER = root
7
+ DB_PASSWORD = root
8
+ DATABASE_URL = " postgresql://${ DB_USER } :${ DB_PASSWORD } @${ DB_HOST } :${ DB_PORT } /${ DB_DATABASE_NAME } ?schema=public"
9
+ SECRET_KEY = batata
10
+
11
+ HOST = ::0.0.0.0
12
+ PORT = 4000
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ lerna-debug.log*
43
43
.env.development.local
44
44
.env.test.local
45
45
.env.production.local
46
- .env.local
46
+ # .env.local
47
47
48
48
# temp directory
49
49
.temp
Original file line number Diff line number Diff line change @@ -9,10 +9,11 @@ services:
9
9
depends_on :
10
10
- db
11
11
ports :
12
- - " 4000:4000"
12
+ - ' 4000:4000'
13
13
volumes :
14
14
- .:/usr/app
15
- working_dir : " /usr/app"
15
+ - /usr/app/node_modules
16
+ working_dir : ' /usr/app'
16
17
environment :
17
18
- DB_HOST=sos-rs-db
18
19
- DB_PORT=5432
@@ -23,10 +24,10 @@ services:
23
24
sh -c "npm install &&
24
25
npx prisma generate &&
25
26
npx prisma migrate dev &&
26
- npm run start:dev "
27
+ npm run start"
27
28
db :
28
29
container_name : sos-rs-db
29
30
image : postgres
30
31
environment :
31
32
- POSTGRES_PASSWORD=root
32
- - POSTGRES_USER=root
33
+ - POSTGRES_USER=root
You can’t perform that action at this time.
0 commit comments