# 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: - ${HOST}:28003:27017 volumes: - mongodata:/data/db - mongoconfig:/data/configdb # mongo-express: # image: mongo-express # restart: always # ports: # - ${HOST}:8090:8081 # env_file: # - mongo.env volumes: mongodata: mongoconfig: