diff --git a/kubernetes/configmap.yml b/kubernetes/configmap.yml index 2ef5b43..db15528 100644 --- a/kubernetes/configmap.yml +++ b/kubernetes/configmap.yml @@ -3,10 +3,14 @@ kind: ConfigMap metadata: name: uni-verse-conf data: - MONGO_HOSTNAME: uni-verse-database-service:3222 - MONGO_USERNAME: uni - MONGO_PASSWORD: password + MONGO_HOSTNAME: uni-verse-database-service + MONGO_INITDB_ROOT_USERNAME: root + MONGO_INITDB_ROOT_PASSWORD: pass + MONGO_INITDB_DATABASE: universe + MONGO_USERNAME: root + MONGO_PASSWORD: pass MONGO_PORT: "27017" + MONGO_DATABASE: universe JWT_SECRET: "secret" - JWT_EXPIRATION_TIME: "9999999999999999999" - JWT_ACCESS_TOKEN_EXPIRATION_TIME: "99999999999999999" \ No newline at end of file + JWT_EXPIRATION_TIME: 60s + JWT_ACCESS_TOKEN_EXPIRATION_TIME: 60s