Skip to content

Commit

Permalink
Update MONGO_DB_URL variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Feb 7, 2024
1 parent 84c5f7d commit a494bad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ POSTGRES_DATABASE=languages
POSTGRES_HOST=db
POSTGRESQL_DB_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}/${POSTGRES_DATABASE}"
MONGO_DB_DATABASE=languages
MONGO_DB_URL=mongodb://mongodb:27017/${MONGO_DB_DATABASE}
MONGO_DB_URL=mongodb://mongodb:27017/${MONGO_DB_DATABASE}?replicaSet=rs0&directConnection=true
GOOGLE_CLIENT_ID=""
JWT_SECRET=""
FRONTED_URL="http://localhost:3000"
Expand Down
2 changes: 1 addition & 1 deletion .k8s/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
POSTGRES_HOST: db
POSTGRESQL_DB_URL: postgresql://postgres:app123456@db/languages
MONGO_DB_DATABASE: languages
MONGO_DB_URL: mongodb://mongo1:27017/languages?replicaSet=rs0
MONGO_DB_URL: mongodb://mongo1:27017/languages?replicaSet=rs0&directConnection=true
GOOGLE_CLIENT_ID: ""
JWT_SECRET: "45wef4we566dwdwgv.fi)__d"
FRONTED_URL: "http://localhost:3000"
Expand Down

0 comments on commit a494bad

Please sign in to comment.