Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,18 @@ FRONTEND_PORT=3000
# =============================================================================
# WEATHER DATA CONFIGURATION
# =============================================================================
# Without credentials, the system falls back to synthetic data automatically.

# Use mock data (true) or real Copernicus data (false)
COPERNICUS_MOCK_MODE=true
# CDS API — ERA5 wind data
# Register at: https://cds.climate.copernicus.eu/
# Your Personal Access Token is on your CDS profile page.
CDSAPI_URL=https://cds.climate.copernicus.eu/api
CDSAPI_KEY=

# Copernicus Marine Service credentials (required if COPERNICUS_MOCK_MODE=false)
# Copernicus Marine Service — wave, current, and SST data
# Register at: https://marine.copernicus.eu/
COPERNICUS_USERNAME=
COPERNICUS_PASSWORD=
COPERNICUSMARINE_SERVICE_USERNAME=
COPERNICUSMARINE_SERVICE_PASSWORD=

# =============================================================================
# MONITORING & OBSERVABILITY
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,20 @@ jobs:
working-directory: frontend
run: npx tsc --noEmit

- name: Run unit tests
working-directory: frontend
run: npm test -- --coverage --watchAll=false
env:
CI: true

- name: Upload frontend coverage
uses: codecov/codecov-action@v4
with:
files: frontend/coverage/lcov.info
flags: frontend
name: frontend-coverage
continue-on-error: true

- name: Build frontend
working-directory: frontend
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ LABEL org.opencontainers.image.title="WINDMAR API" \
org.opencontainers.image.description="Maritime Route Optimization API" \
org.opencontainers.image.vendor="SL Mar" \
org.opencontainers.image.version="2.1.0" \
org.opencontainers.image.licenses="Commercial"
org.opencontainers.image.licenses="Apache-2.0"

# Security: Run as non-root user
RUN groupadd --gid 1000 windmar \
Expand Down
Loading
Loading