django:
  build: .
  ports:
    - "8080:8080"
  volumes:
    - ./:/var/djangoproject
  links:
    - mysql
mysql:
  image: mysql:8
  expose:
    - "3306"
  ports:
    - "3306:3306"
  environment:
    - MYSQL_ROOT_PASSWORD=unsecure


django:
  build: .
  ports:
    - "8080:8080"
    - "8000:8000"
  volumes:
    - ./:/var/djangoproject
  links:
    - mysql
mysql:
  image: mysql:8
  expose:
    - "3306"
  ports:
    - "3306:3306"
  environment:
    - MYSQL_ROOT_PASSWORD=unsecure


Make sure we expose 8000 too
Make sure we expose 8000 too
