Starting with an empty directory, I created this docker-compose.yml:
docker-compose.yml
version: \'3.9\' services: neo4j: image: neo4j:3.2 restart: unless