docker-compose.dev.yml 360 B

1234567891011121314151617181920
  1. services:
  2. backend:
  3. ports:
  4. - "${BACKEND_HOST}:${BACKEND_PORT}:8080"
  5. volumes:
  6. - ./backend:/opt/app
  7. frontend:
  8. volumes:
  9. - ./frontend:/opt/app
  10. mongo:
  11. ports:
  12. - "${MONGO_HOST}:${MONGO_PORT}:${MONGO_PORT}"
  13. redis:
  14. ports:
  15. - "${REDIS_HOST}:${REDIS_PORT}:6379"
  16. volumes:
  17. - ${REDIS_DATA_LOCATION}:/data