docker-compose.dev.yml 422 B

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