Skip to content

Commit

Permalink
example: docker compose witout static volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
MdreW committed Aug 23, 2024
1 parent 8272442 commit 3c4c1d6
Show file tree
Hide file tree
Showing 16 changed files with 214 additions and 105 deletions.
1 change: 1 addition & 0 deletions Docker-compose/djangosaml2_sp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!.gitignore
26 changes: 6 additions & 20 deletions Docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ services:
MONGO_INITDB_ROOT_USERNAME: "${MONGO_DBUSER:-satosa}"
MONGO_INITDB_ROOT_PASSWORD: "${MONGO_DBPASSWORD:-thatpassword}"
volumes:
- mongodata:/data/db
- /usr/share/zoneinfo/Europe/Rome:/etc/localtime:ro
- ./mongo/db:/data/db
- ./mongo/init-mongo.sh:/docker-entrypoint-initdb.d/init-mongo.sh
ports:
- '27017-27019:27017-27019'
Expand All @@ -34,17 +33,16 @@ services:
## START: PARTE NUOVA
django_sp:
build:
context: ../
context: ../
args:
- NODE_ENV=local
- NODE_ENV=local
dockerfile: example_sp/django.Dockerfile
container_name: django_sp
#restart: always
working_dir: /django_sp
entrypoint: "sh ../entrypoint.sh"
volumes:
- /usr/share/zoneinfo/Europe/Rome:/etc/localtime:ro
- ../example_sp/djangosaml2_sp:/django_sp:rw
- ./djangosaml2_sp:/django_sp:rw
ports:
- "8000:8000"
networks:
Expand Down Expand Up @@ -110,8 +108,7 @@ services:
ports:
- "10000:10000"
volumes:
- /usr/share/zoneinfo/Europe/Rome:/etc/localtime:ro
- ../docker-example:/satosa_proxy:rw
- ./satosa:/satosa_proxy:rw
working_dir: /satosa_proxy
entrypoint: "sh entrypoint.sh"
networks:
Expand All @@ -136,7 +133,7 @@ services:
- ./nginx/50x.html:/usr/share/nginx/html/50x.html:ro
- ./nginx/404.html:/usr/share/nginx/html/404.html:ro
- ./nginx/403.html:/usr/share/nginx/html/403.html:ro
- nginx_certs:/etc/nginx/certs:ro
- ./nginx/certs:/etc/nginx/certs:ro
- ../docker-example/static:/var/www/html
networks:
- satosa-saml2spid
Expand All @@ -150,17 +147,6 @@ services:
- "8443:8443"
networks:
- satosa-saml2spid

volumes:

mongodata:
name: satosa-saml2spid_mongodata
external: true

nginx_certs:
name: satosa-saml2spid_nginx_certs
external: true

networks:
satosa-saml2spid:
name: satosa-saml2spid
1 change: 1 addition & 0 deletions Docker-compose/mongo/db/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!.gitignore
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{"t":{"$date":"2024-08-23T10:29:26.794Z"},"s":"I","c":"MONGOSH","id":1000000000,"ctx":"log","msg":"Starting log","attr":{"execPath":"/usr/bin/mongosh","envInfo":{"EDITOR":null,"NODE_OPTIONS":null,"TERM":null},"version":"2.2.6","distributionKind":"compiled","buildArch":"x64","buildPlatform":"linux","buildTarget":"linux-x64","buildTime":"2024-05-16T17:58:55.042Z","gitVersion":"6d11de2ccf5cdb827d7c170d0e7d1778aa98a0bc","nodeVersion":"v20.12.2","opensslVersion":"3.0.13+quic","sharedOpenssl":false,"runtimeArch":"x64","runtimePlatform":"linux","runtimeGlibcVersion":"2.35","deps":{"nodeDriverVersion":"6.6.2","libmongocryptVersion":"1.9.0-20230828+git8e7f69f1c0","libmongocryptNodeBindingsVersion":"6.0.0","kerberosVersion":"2.1.0"}}}
{"t":{"$date":"2024-08-23T10:29:26.810Z"},"s":"I","c":"MONGOSH","id":1000000048,"ctx":"config","msg":"Loading global configuration file","attr":{"filename":"/etc/mongosh.conf","found":false}}
{"t":{"$date":"2024-08-23T10:29:26.835Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"mongosh-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://127.0.0.1:27017/admin?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.6","driver":{"name":"nodejs|mongosh","version":"6.6.2|2.2.6"},"devtoolsConnectVersion":"2.6.3","host":"127.0.0.1:27017"}}
{"t":{"$date":"2024-08-23T10:29:26.840Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"mongosh-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"127.0.0.1:27017"}}
{"t":{"$date":"2024-08-23T10:29:26.906Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"mongosh-connect","msg":"Connection attempt finished"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{"t":{"$date":"2024-08-23T10:29:27.433Z"},"s":"I","c":"MONGOSH","id":1000000000,"ctx":"log","msg":"Starting log","attr":{"execPath":"/usr/bin/mongosh","envInfo":{"EDITOR":null,"NODE_OPTIONS":null,"TERM":null},"version":"2.2.6","distributionKind":"compiled","buildArch":"x64","buildPlatform":"linux","buildTarget":"linux-x64","buildTime":"2024-05-16T17:58:55.042Z","gitVersion":"6d11de2ccf5cdb827d7c170d0e7d1778aa98a0bc","nodeVersion":"v20.12.2","opensslVersion":"3.0.13+quic","sharedOpenssl":false,"runtimeArch":"x64","runtimePlatform":"linux","runtimeGlibcVersion":"2.35","deps":{"nodeDriverVersion":"6.6.2","libmongocryptVersion":"1.9.0-20230828+git8e7f69f1c0","libmongocryptNodeBindingsVersion":"6.0.0","kerberosVersion":"2.1.0"}}}
{"t":{"$date":"2024-08-23T10:29:27.439Z"},"s":"I","c":"MONGOSH","id":1000000005,"ctx":"config","msg":"User updated"}
{"t":{"$date":"2024-08-23T10:29:27.439Z"},"s":"I","c":"MONGOSH","id":1000000048,"ctx":"config","msg":"Loading global configuration file","attr":{"filename":"/etc/mongosh.conf","found":false}}
{"t":{"$date":"2024-08-23T10:29:27.465Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"mongosh-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://127.0.0.1:27017/oidcop?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.6","driver":{"name":"nodejs|mongosh","version":"6.6.2|2.2.6"},"devtoolsConnectVersion":"2.6.3","host":"127.0.0.1:27017"}}
{"t":{"$date":"2024-08-23T10:29:27.471Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"mongosh-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"127.0.0.1:27017"}}
{"t":{"$date":"2024-08-23T10:29:27.479Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"mongosh-connect","msg":"Connection attempt finished"}
{"t":{"$date":"2024-08-23T10:29:27.490Z"},"s":"I","c":"MONGOSH","id":1000000004,"ctx":"connect","msg":"Connecting to server","attr":{"session_id":"66c8648753e2f14983a26a12","userId":null,"telemetryAnonymousId":"66c864868081b0c453a26a11","connectionUri":"mongodb://<ip address>:27017/oidcop?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.6","is_atlas":false,"is_localhost":true,"is_do":false,"server_version":"7.0.11","node_version":"v20.12.2","mongosh_version":"2.2.6","server_os":"linux","server_arch":"x86_64","is_enterprise":false,"auth_type":null,"is_data_federation":false,"is_stream":false,"dl_version":null,"atlas_version":null,"is_genuine":true,"non_genuine_server_name":"mongodb","is_local_atlas":false,"fcv":"7.0","api_version":null,"api_strict":null,"api_deprecation_errors":null}}
{"t":{"$date":"2024-08-23T10:29:27.492Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"adminCommand","class":"Database","db":"oidcop","arguments":{"cmd":{"ping":1}}}}
{"t":{"$date":"2024-08-23T10:29:27.493Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"getSiblingDB","class":"Database","db":"oidcop","arguments":{"db":"admin"}}}
{"t":{"$date":"2024-08-23T10:29:27.520Z"},"s":"I","c":"MONGOSH","id":1000000010,"ctx":"shell-api","msg":"Initialized context","attr":{"method":"setCtx","arguments":{}}}
{"t":{"$date":"2024-08-23T10:29:27.522Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"adminCommand","class":"Database","db":"oidcop","arguments":{"cmd":{"getLog":"startupWarnings"}}}}
{"t":{"$date":"2024-08-23T10:29:27.523Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"getSiblingDB","class":"Database","db":"oidcop","arguments":{"db":"admin"}}}
{"t":{"$date":"2024-08-23T10:29:27.523Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"hello","class":"Database","db":"oidcop","arguments":{}}}
{"t":{"$date":"2024-08-23T10:29:27.525Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000024,"ctx":"snippets","msg":"Fetching snippet index","attr":{"refreshMode":"allow-cached"}}
{"t":{"$date":"2024-08-23T10:29:27.525Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000019,"ctx":"snippets","msg":"Loaded snippets","attr":{"installdir":"/data/db/.mongodb/mongosh/snippets"}}
{"t":{"$date":"2024-08-23T10:29:27.563Z"},"s":"I","c":"MONGOSH","id":1000000002,"ctx":"repl","msg":"Started REPL","attr":{"version":"2.2.6"}}
{"t":{"$date":"2024-08-23T10:29:27.583Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:27.708Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"var rootUser = 'satosa';"}}
{"t":{"$date":"2024-08-23T10:29:27.710Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"var rootPassword = 'thatpassword';"}}
{"t":{"$date":"2024-08-23T10:29:27.710Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:27.712Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"var admin = db.getSiblingDB('admin');"}}
{"t":{"$date":"2024-08-23T10:29:27.712Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"getSiblingDB","class":"Database","db":"oidcop","arguments":{"db":"admin"}}}
{"t":{"$date":"2024-08-23T10:29:27.713Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:27.713Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"auth","class":"Database","db":"admin","arguments":{}}}
{"t":{"$date":"2024-08-23T10:29:27.713Z"},"s":"I","c":"MONGOSH-SP","id":1000000040,"ctx":"connect","msg":"Reconnect because of changed connection options"}
{"t":{"$date":"2024-08-23T10:29:27.713Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"mongosh-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://127.0.0.1:27017/oidcop?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.6","driver":{"name":"nodejs|mongosh","version":"6.6.2|2.2.6"},"devtoolsConnectVersion":"2.6.3","host":"127.0.0.1:27017"}}
{"t":{"$date":"2024-08-23T10:29:27.713Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"mongosh-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"127.0.0.1:27017"}}
{"t":{"$date":"2024-08-23T10:29:27.737Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"mongosh-connect","msg":"Connection attempt finished"}
{"t":{"$date":"2024-08-23T10:29:27.814Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:27.815Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"var user = 'satosa';"}}
{"t":{"$date":"2024-08-23T10:29:27.815Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"var passwd = 'thatpassword';"}}
{"t":{"$date":"2024-08-23T10:29:27.815Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:27.815Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createUser","class":"Database","db":"oidcop","arguments":{}}}
{"t":{"$date":"2024-08-23T10:29:27.840Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:27.854Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"// make client_id unique"}}
{"t":{"$date":"2024-08-23T10:29:27.855Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"db.client.createIndex( { \"client_id\": 1 }, { unique: true } )"}}
{"t":{"$date":"2024-08-23T10:29:27.855Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createIndex","class":"Collection","db":"oidcop","coll":"client","arguments":{"keys":{"client_id":1},"options":{"unique":true}}}}
{"t":{"$date":"2024-08-23T10:29:27.884Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"db.client.createIndex( { \"registration_access_token\": 1 }, { unique: true } )"}}
{"t":{"$date":"2024-08-23T10:29:27.885Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createIndex","class":"Collection","db":"oidcop","coll":"client","arguments":{"keys":{"registration_access_token":1},"options":{"unique":true}}}}
{"t":{"$date":"2024-08-23T10:29:27.902Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:27.916Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"// make access_token and sid unique"}}
{"t":{"$date":"2024-08-23T10:29:27.917Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"db.session.createIndex( { \"sid\": 1 }, { unique: true } )"}}
{"t":{"$date":"2024-08-23T10:29:27.917Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createIndex","class":"Collection","db":"oidcop","coll":"session","arguments":{"keys":{"sid":1},"options":{"unique":true}}}}
{"t":{"$date":"2024-08-23T10:29:27.948Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:27.967Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"// create expired session deletion"}}
{"t":{"$date":"2024-08-23T10:29:27.968Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"db.session.createIndex(\n { expires_at: 1 },\n { expireAfterSeconds: 0, partialFilterExpression: { count: { $gt: 2 } } }\n);"}}
{"t":{"$date":"2024-08-23T10:29:27.968Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createIndex","class":"Collection","db":"oidcop","coll":"session","arguments":{"keys":{"expires_at":1},"options":{"expireAfterSeconds":0,"partialFilterExpression":{"count":{"$gt":2}}}}}}
{"t":{"$date":"2024-08-23T10:29:27.982Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:27.999Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"// insert a test client like this"}}
{"t":{"$date":"2024-08-23T10:29:28Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"db.client.insertOne(\n {\"client_id\": \"jbxedfmfyc\", \"client_name\": \"ciro\", \"client_salt\": \"6flfsj0Z\", \"registration_access_token\": \"z3PCMmC1HZ1QmXeXGOQMJpWQNQynM4xY\", \"registration_client_uri\": \"<url>\", \"client_id_issued_at\": 1630952311.410208, \"client_secret\": \"19cc69b70d0108f630e52f72f7a3bd37ba4e11678ad1a7434e9818e1\", \"client_secret_expires_at\": 1662488311.410214, \"application_type\": \"web\", \"contacts\": [\"<email>\"], \"token_endpoint_auth_method\": \"client_secret_basic\", \"redirect_uris\": [[\"<url>\", {}]], \"post_logout_redirect_uris\": [[\"<url>\", null]], \"response_types\": [\"code\"], \"grant_types\": [\"authorization_code\"], \"allowed_scopes\": [\"openid\", \"profile\", \"email\", \"offline_access\"]}\n)"}}
{"t":{"$date":"2024-08-23T10:29:28Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"insertOne","class":"Collection","db":"oidcop","coll":"client","arguments":{"options":{}}}}
{"t":{"$date":"2024-08-23T10:29:28.007Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":""}}
{"t":{"$date":"2024-08-23T10:29:28.010Z"},"s":"I","c":"MONGOSH","id":1000000045,"ctx":"analytics","msg":"Flushed outstanding data","attr":{"flushError":"Trying to persist throttle state before userId is set","flushDuration":0}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{"t":{"$date":"2024-08-23T10:29:27.060Z"},"s":"I","c":"MONGOSH","id":1000000000,"ctx":"log","msg":"Starting log","attr":{"execPath":"/usr/bin/mongosh","envInfo":{"EDITOR":null,"NODE_OPTIONS":null,"TERM":null},"version":"2.2.6","distributionKind":"compiled","buildArch":"x64","buildPlatform":"linux","buildTarget":"linux-x64","buildTime":"2024-05-16T17:58:55.042Z","gitVersion":"6d11de2ccf5cdb827d7c170d0e7d1778aa98a0bc","nodeVersion":"v20.12.2","opensslVersion":"3.0.13+quic","sharedOpenssl":false,"runtimeArch":"x64","runtimePlatform":"linux","runtimeGlibcVersion":"2.35","deps":{"nodeDriverVersion":"6.6.2","libmongocryptVersion":"1.9.0-20230828+git8e7f69f1c0","libmongocryptNodeBindingsVersion":"6.0.0","kerberosVersion":"2.1.0"}}}
{"t":{"$date":"2024-08-23T10:29:27.066Z"},"s":"I","c":"MONGOSH","id":1000000005,"ctx":"config","msg":"User updated"}
{"t":{"$date":"2024-08-23T10:29:27.066Z"},"s":"I","c":"MONGOSH","id":1000000048,"ctx":"config","msg":"Loading global configuration file","attr":{"filename":"/etc/mongosh.conf","found":false}}
{"t":{"$date":"2024-08-23T10:29:27.088Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"mongosh-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://127.0.0.1:27017/admin?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.6","driver":{"name":"nodejs|mongosh","version":"6.6.2|2.2.6"},"devtoolsConnectVersion":"2.6.3","host":"127.0.0.1:27017"}}
{"t":{"$date":"2024-08-23T10:29:27.094Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"mongosh-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"127.0.0.1:27017"}}
{"t":{"$date":"2024-08-23T10:29:27.126Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"mongosh-connect","msg":"Connection attempt finished"}
{"t":{"$date":"2024-08-23T10:29:27.136Z"},"s":"I","c":"MONGOSH","id":1000000010,"ctx":"shell-api","msg":"Initialized context","attr":{"method":"setCtx","arguments":{}}}
{"t":{"$date":"2024-08-23T10:29:27.142Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000024,"ctx":"snippets","msg":"Fetching snippet index","attr":{"refreshMode":"allow-cached"}}
{"t":{"$date":"2024-08-23T10:29:27.143Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000019,"ctx":"snippets","msg":"Loaded snippets","attr":{"installdir":"/data/db/.mongodb/mongosh/snippets"}}
{"t":{"$date":"2024-08-23T10:29:27.178Z"},"s":"I","c":"MONGOSH","id":1000000004,"ctx":"connect","msg":"Connecting to server","attr":{"session_id":"66c864877182c3e993a26a12","userId":null,"telemetryAnonymousId":"66c864868081b0c453a26a11","connectionUri":"mongodb://<ip address>:27017/admin?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.6","is_atlas":false,"is_localhost":true,"is_do":false,"server_version":"7.0.11","node_version":"v20.12.2","mongosh_version":"2.2.6","server_os":"linux","server_arch":"x86_64","is_enterprise":false,"auth_type":null,"is_data_federation":false,"is_stream":false,"dl_version":null,"atlas_version":null,"is_genuine":true,"non_genuine_server_name":"mongodb","is_local_atlas":false,"fcv":"7.0","api_version":null,"api_strict":null,"api_deprecation_errors":null}}
{"t":{"$date":"2024-08-23T10:29:27.179Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000028,"ctx":"snippets","msg":"Modifying snippets package.json failed","attr":{"error":"ENOENT: no such file or directory, open '/data/db/.mongodb/mongosh/snippets/package.json'"}}
{"t":{"$date":"2024-08-23T10:29:27.179Z"},"s":"I","c":"MONGOSH","id":1000000002,"ctx":"repl","msg":"Started REPL","attr":{"version":"2.2.6"}}
{"t":{"$date":"2024-08-23T10:29:27.273Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createUser","class":"Database","db":"admin","arguments":{}}}
{"t":{"$date":"2024-08-23T10:29:27.324Z"},"s":"I","c":"MONGOSH","id":1000000045,"ctx":"analytics","msg":"Flushed outstanding data","attr":{"flushError":"Trying to persist throttle state before userId is set","flushDuration":1}}
Loading

0 comments on commit 3c4c1d6

Please sign in to comment.