Skip to content

Commit

Permalink
update env example
Browse files Browse the repository at this point in the history
  • Loading branch information
Nguyen-Duc-Khai committed Dec 11, 2023
1 parent 261174c commit 6994ac7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ DB_PASSWORD=P@ssw0rd!
DB_NAME=airchecker
DB_URL=mysql://root:<password>@localhost:5432/airchecker

MONGO_URL=mongodb+srv://admin:<password>@aircheckercluster.yymawyw.mongodb.net/aircheckerdb?retryWrites=true&w=majority
# MONGODB_URL=mongodb+srv://admin:Pa$$word!@aircheckercluster.yymawyw.mongodb.net/aircheckerdb?retryWrites=true&w=majority
MONGODB_URL=mongodb://localhost:27017/aircheckerdb

MQTT_PROTOCOL=mqtt
MQTT_HOST=broker.emqx.io
MQTT_HOST=localhost
MQTT_PORT=1883
MQTT_USER=emqx
MQTT_PASSWORD=public
MQTT_USER=admin
MQTT_PASSWORD=Pa$$word!

VAPID_PUBLIC_KEY=<VAPID_PUBLIC_KEY>
VAPID_PRIVATE_KEY=<VAPID_PRIVATE_KEY>
Expand Down

0 comments on commit 6994ac7

Please sign in to comment.