docker-compose.yml 652 B

123456789101112131415161718192021222324252627282930313233
  1. services:
  2. frontend:
  3. image: trane-tech-energy-strategy-optimization-platform-frontend:v1.0
  4. # build:
  5. # context: .
  6. # dockerfile: ./Dockerfile
  7. ports:
  8. - 8091:80
  9. restart: unless-stopped
  10. backend:
  11. image: trane-tech-energy-strategy-optimization-platform-backend:v1.0
  12. # build:
  13. # context: .
  14. # dockerfile: ./Dockerfile
  15. ports:
  16. - 8092:8082
  17. restart: unless-stopped
  18. nginx:
  19. image: nginx:latest
  20. volumes:
  21. - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
  22. ports:
  23. - 80:80
  24. networks:
  25. default:
  26. driver: bridge
  27. volumes:
  28. trane_data: