Category : authentication

As I’m introducing authentication for my MongoDB instance in Docker, I ran into problems which are probably related to the way agenda.js tries to connect to MongoDB, as the connection string invokes successful logs for mongoose connecting to the DB, therefore I assume the string should be valid. Everything worked until I changed the connection ..

Read more

What I’m trying to do I’m trying to set up a docker-compose definition, where I have a mongoDB container, and a nodeJS container that connects to it. version: "3.9" services: events-db: image: mongo volumes: – db-volume:/data/db environment: MONGO_INITDB_ROOT_USERNAME: $SANDBOX_DB_USER MONGO_INITDB_ROOT_PASSWORD: $SANDBOX_DB_PASS MONGO_INITDB_DATABASE: sandboxdb app: image: node:15.12.0 user: node working_dir: /home/node/app volumes: – ./:/home/node/app:ro environment: MDB_CONNECTION: ..

Read more

I am trying to set up a MongoDB Docker container to use as a local database for testing, but I am facing issues. For running the container, I used following command: docker run -d –name mongodb -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME="root" -e MONGO_INITDB_ROOT_PASSWORD="password" -v C:projectsdockervolumesmongotmp:/data/db mongo:4.4.4 I used -e to pass the root username and password ..

Read more

What I am trying to do I need to be able pull private image that is stored in Docker hub when using the exposed daemon over http http://127.0.0.1:2375/v1.35/images/create?fromImage=akkovachev/test-repository The "akkovachev/test-repository" is a private repo in docker hub, when I run the above POST request I get { "message": "pull access denied for akkovachev/test-repository, repository does ..

Read more

we have a problem setting up aws-sigv4 and connecting an AWS AMP workspace via docker images. TAG: grafana/grafana:7.4.5 Main problem is that in the UI the sigv4 configuration screen does not appear. Installing grafana:7.4.5 locally via Standalone Linux Binaries works. Just setting the environment variables, export AWS_SDK_LOAD_CONFIG=true export GF_AUTH_SIGV4_AUTH_ENABLED=true the configuration screen appears. Connecting and ..

Read more

When running dotnet core in docker, i recently got this cryptic dotnet exception . System.Security.Cryptography.CryptographicException: Unix LocalMachine X509Store is limited to the Root and CertificateAuthority stores.| —u003e System.PlatformNotSupportedException: Unix LocalMachine X509Store is limited to the Root and CertificateAuthority stores.| Below exception, I got when I tried to open a certificate from my docker certificate store ..

Read more

I have implemented a simple website where user can log in/register via some existing service (e.g Google). After log in a user can manage his Jupyter notebook – open/delete. Basically a user has an account where he can access his notebook. The website and Jupyter notebook are containerized by Docker and organized by Kubernetes. Now ..

Read more