Skip to content

1.0.7

Choose a tag to compare

@DMJoh DMJoh released this 01 Oct 15:17
· 195 commits to main since this release
3ebb086

⚠️ BREAKING CHANGES

Configuration file changes require migration. Existing .env files will not work with the new docker-compose.yml.

Variables Removed

  • MEDIQUX_API_URL, FRONTEND_URL - Now auto-constructed from host + port
  • DB_NAME, DB_USER, DB_PASSWORD, DB_PORT - Use POSTGRES_* equivalents instead

Variables Added

  • BACKEND_HOST, BACKEND_PORT - For backend API configuration
  • FRONTEND_HOST, FRONTEND_PORT - For frontend configuration
  • POSTGRES_PORT - Replaces DB_PORT

Migration Steps

  1. Backup your .env: cp .env .env.backup

  2. **Download the latest env file **

    curl -o .env https://raw.githubusercontent.com/DMJoh/Mediqux/refs/heads/main/.env.example
  3. Migrate values:

    OLD variables → NEW variables

    MEDIQUX_API_URL=http://localhost:3000/api → BACKEND_HOST=localhost, BACKEND_PORT=3000
    FRONTEND_URL=http://localhost:8080 → FRONTEND_HOST=localhost, FRONTEND_PORT=8080
    DB_NAME=mediqux_db → POSTGRES_DB=mediqux_db
    DB_USER=mediqux_user → POSTGRES_USER=mediqux_user
    DB_PASSWORD=password → POSTGRES_PASSWORD=password
    DB_PORT=5432 → POSTGRES_PORT=5432
  4. Update docker-compose.yml to latest version

    curl -O https://raw.githubusercontent.com/DMJoh/Mediqux/refs/heads/main/docker-compose.yml
  5. Restart: docker-compose down && docker-compose up -d

Why This Change?

Prevents configuration errors from port/URL mismatches. URLs are now auto-constructed in docker-compose.yml:

  • MEDIQUX_API_URLhttp://${BACKEND_HOST}:${BACKEND_PORT}/api
  • FRONTEND_URLhttp://${FRONTEND_HOST}:${FRONTEND_PORT}

What's Changed

Full Changelog: 1.0.6...1.0.7