docker-compose.dev.yml 721 B

1234567891011121314151617181920212223242526272829
  1. services:
  2. backend:
  3. ports:
  4. - "${BACKEND_HOST:-0.0.0.0}:${BACKEND_PORT:-8080}:8080"
  5. - "${BACKEND_HOST:-0.0.0.0}:${BACKEND_DEBUG_PORT:-9229}:9229"
  6. volumes:
  7. - ./.git:/opt/.git:ro
  8. - ./common:/opt/common
  9. - ./types:/opt/types
  10. - ./backend:/opt/app
  11. environment:
  12. - BACKEND_DEBUG=${BACKEND_DEBUG:-false}
  13. frontend:
  14. volumes:
  15. - ./.git:/opt/.git:ro
  16. - ./common:/opt/common
  17. - ./types:/opt/types
  18. - ./frontend:/opt/app
  19. mongo:
  20. ports:
  21. - "${MONGO_HOST:-0.0.0.0}:${MONGO_PORT:-27017}:${MONGO_PORT:-27017}"
  22. redis:
  23. ports:
  24. - "${REDIS_HOST:-0.0.0.0}:${REDIS_PORT:-6379}:6379"
  25. volumes:
  26. - ${REDIS_DATA_LOCATION:-./redis}:/data