docker-compose.yml 885 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. version: '3.9'
  2. networks:
  3. basic:
  4. services:
  5. front:
  6. # build:
  7. # context: ./
  8. # dockerfile: Dockerfile
  9. # target: front
  10. container_name: greaterwms_front
  11. image: greaterwms/greaterwms:front
  12. restart: always
  13. privileged: true
  14. ports:
  15. - '8080:8080'
  16. depends_on:
  17. - backend
  18. volumes:
  19. - ./templates:/GreaterWMS/templates:rw
  20. - ./web_start.sh:/GreaterWMS/templates/web_start.sh
  21. networks:
  22. - basic
  23. backend:
  24. # build:
  25. # context: ./
  26. # dockerfile: Dockerfile
  27. # target: backend
  28. container_name: greaterwms_backend
  29. image: greaterwms/greaterwms:backend
  30. restart: always
  31. privileged: true
  32. volumes:
  33. - ./:/GreaterWMS/:rw
  34. - ./supervisord.conf:/etc/supervisor/supervisord.conf
  35. ports:
  36. - '8008:8008'
  37. environment:
  38. PYTHONUNBUFFERED: 1
  39. networks:
  40. - basic