Skip to content

Commit 0fd8170

Browse files
committed
https config added
1 parent c649c04 commit 0fd8170

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ POSTGRES_PASSWORD=postgres
1414
POSTGRES_DB=vrt_db_dev
1515

1616
# optional
17-
#HTTPS_KEY_PATH='./secrets/77570959_localhost.key'
18-
#HTTPS_CERT_PATH='./secrets/77570959_localhost.cert'
17+
#HTTPS_KEY_PATH='./secrets/ssl.key'
18+
#HTTPS_CERT_PATH='./secrets/ssl.cert'

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ lerna-debug.log*
3434
!.vscode/extensions.json
3535

3636
/imageUploads
37-
/secrets
37+
/secrets

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@
1414
- `npm run test:e2e`
1515
- Seed initial data `npx ts-node prisma/seed.ts`
1616
- `npm run start:debug`
17+
18+
## Local HTTPS config
19+
20+
- Generate keys [here](https://www.selfsignedcertificate.com/)
21+
- place in folder `/secrets` named `ssl.cert` and `ssl.key`

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ services:
1111
# IMG_UPLOAD_FOLDER: ${IMG_UPLOAD_FOLDER}
1212
# BODY_PARSER_JSON_LIMIT: ${BODY_PARSER_JSON_LIMIT}
1313
# APP_FRONTEND_URL: ${APP_FRONTEND_URL}
14+
# HTTPS_KEY_PATH: ${HTTPS_KEY_PATH}
15+
# HTTPS_CERT_PATH: ${HTTPS_CERT_PATH}
1416
# ports:
1517
# - "${APP_PORT}:3000"
1618
# expose:

0 commit comments

Comments
 (0)