You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
326 B

  1. version: '2'
  2. services:
  3. backend:
  4. volumes:
  5. - ./backend:/backend
  6. command: python manage.py runserver 0.0.0.0:8000
  7. frontend:
  8. volumes:
  9. - ./frontend:/frontend
  10. - node_modules:/frontend/node_modules
  11. command: npm run dev
  12. nginx:
  13. environment:
  14. - domain=localhost
  15. volumes:
  16. node_modules: