# Use root/example as user/password credentials version: '3.1' services: bot: build: . restart: always depends_on: - mongo env_file: - bot.env mongo: image: mongo:4 restart: always env_file: - mongo.env ports: - 27017 volumes: - mongodata:/data/db - mongoconfig:/data/configdb volumes: mongodata: mongoconfig: