This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.8" | |
# docker-compose automatically --rm | |
# all services defined within 1 docker-compose file | |
# will automatically be added to the same network | |
services: | |
# folder name + service name _1 = container name | |
mongodb: | |
container_name: "mongodb" | |
# override default docker-compose naming convention | |
image: "mongo" |