{% if COURSEGRAPH_RUN_NEO4J %}
coursegraph:
  ports:
    - "7474:7474"  # Expose Web interface to host.
    - "7687:7687"  # Expose Bolt interface to host.
  networks:
    default:
      aliases:
        - "{{ COURSEGRAPH_NEO4J_HOST }}"
  tty: true         # Allow TTY-enabled shell on service with `tutor dev exec coursegraph bash`.
  stdin_open: true  # Allow attachment to service with `docker-compose attach`.
{% endif %}
