version: '3.7' services: mongoexpress: image: mongo-express network_mode: host environment: - ME_CONFIG_MONGODB_ENABLE_ADMIN=true - ME_CONFIG_MONGODB_SERVER=127.0.0.1 - ME_CONFIG_MONGODB_PORT=27017 - ME_CONFIG_MONGODB_AUTH_DATABASE=admin mongo: network_mode: host restart: unless-stopped image: mongo:latest environment: - MONGODB_INITDB_ROOT_USERNAME=doorboy - MONGODB_INITDB_ROOT_PASSWORD=password - MONGODB_INITDB_DATABASE=kspace_accounting doorboy_proxy: hostname: doorboy.infra.k-space.ee restart: unless-stopped network_mode: host env_file: .env build: context: .