version: "3.3"

services:
  django:
    build: .
    command: ["runserver", "0.0.0.0:8000"]
    stdin_open: true
    tty: true
    ports:
      - "8000:8000"
    volumes:
      - .:/djedi-cms

  node:
    build: ./djedi-react
    image: djedi-react
    tty: true
    ports:
      - "3000:3000"
    volumes:
      - ./djedi-react/:/code
      - /code/node_modules
    environment:
      - SERVER_BASE_URL=http://django:8000/djedi/api

version: "3.3"

services:
  django:
    build: .
    command: ["runserver", "0.0.0.0:8000"]
    stdin_open: true
    tty: true
    ports:
      - "8000:8000"
    volumes:
      - .:/djedi-cms

  node:
    build: ./djedi-react
    image: djedi-react
    ports:
      - "3000:3000"
    volumes:
      - ./djedi-react/:/code
      - /code/node_modules
    environment:
      - SERVER_BASE_URL=http://django:8000/djedi/api

Remove `tty: true` from the example node container
Remove `tty: true` from the example node container

The idea was to get fancier logs, but it didn't work very well in
practice. There were many scrambled characters and the cursor
disappeared.
