Author : user8888

I have two Docker containers: b-db – contains my database b-combined – contains my web application and tests that run once the container is up and running. I’m using a docker-compose.yml file to start both containers. version: ‘3’ services: db: build: context: . dockerfile: ./docker/db/Dockerfile container_name: b-db restart: unless-stopped volumes: – dbdata:/data/db ports: – “27017:27017” ..

Read more