Skip to content

Commit

Permalink
mongodb over tls
Browse files Browse the repository at this point in the history
db: retrywrites=false
  • Loading branch information
puggan committed Jun 26, 2020
1 parent 5e4bfbc commit 155d5c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flask
flask_restful
pymongo
pymongo[tls]
pyjwt[crypto]
2 changes: 1 addition & 1 deletion k8s/aks.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
image: %IMAGE%
env:
- name: MONGO_URI
value: "mongodb://%s:%[email protected]:10255/"
value: "mongodb://%s:%[email protected]:10255/?ssl=true&retrywrites=false&replicaSet=globaldb&maxIdleTimeMS=120000&appName=@skojjt@"
- name: MONGO_DATABASE
value: "%NAMESPACE%"
- name: MONGO_USER
Expand Down

0 comments on commit 155d5c8

Please sign in to comment.