File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -91,12 +91,11 @@ the data-base will be initialized with ./database/initdb.sql script. feel free t
91
91
Enviornment variables will be located in ./database/.env
92
92
and will contain our database credentials :
93
93
94
- ```
95
- POSTGRES_USER=admin
96
- POSTGRES_PASSWORD=admin
97
- POSTGRES_DB=pern_db
98
-
99
- ```
94
+ ```
95
+ POSTGRES_USER=admin
96
+ POSTGRES_PASSWORD=admin
97
+ POSTGRES_DB=pern_db
98
+ ```
100
99
101
100
Volumes of our database will be located in ./database/data
102
101
@@ -111,7 +110,7 @@ Server is located in ./projec-name/server using express.
111
110
- In development mode it will run in a container built with ./server/Dockerfile.dev.
112
111
dev mode server will be exposed on port 5500 to the "outside" world and will use volumes for data persistent.
113
112
- In Production mode it will run in a container built with ./server/Dockerfile.
114
- prod mode server will ve exposed on port 5500 only to the docker composer internal services. as well using volumes for data persistent.
113
+ prod mode server will be exposed on port 5500 only to the docker composer internal services. as well using volumes for data persistent.
115
114
116
115
Enviornment variables will be located in ./server/.env
117
116
and will contain postgres credentials to establish connection to our databse.
You can’t perform that action at this time.
0 commit comments