Running Memgraph Platform with Docker Compose

:bug: Bug Report

Description

Trying to run the memgraph/memgraph-platform image with Docker Compose.
The container starts but exits right away with code 0.

Steps to reproduce

  1. Create a docker-compose.yml file:
version: "3"
services:
  memgraph-platform:
    image: memgraph/memgraph-platform
    ports:
      - "3000:3000"
      - "7687:7687"
  1. Start the container with:
docker-compose up

Expected behavior

Memgraph should start and Memgraph Lab should be accessible at http://localhost:3000.

Actual behavior

The container stops and prints out the following message:

memgraph-dev_memgraph-platform_1 exited with code 0

Your environment

  • Memgraph 2.0.1
  • Ubuntu 20.04.2 LTS