Skip to content

[2.x] [API stack] Fix docker-compose.yml ports for Sail installations#464

Closed
josephmiclaus wants to merge 1 commit intolaravel:2.xfrom
josephmiclaus:fix-sail-docker-ports
Closed

[2.x] [API stack] Fix docker-compose.yml ports for Sail installations#464
josephmiclaus wants to merge 1 commit intolaravel:2.xfrom
josephmiclaus:fix-sail-docker-ports

Conversation

@josephmiclaus
Copy link
Contributor

@josephmiclaus josephmiclaus commented Feb 5, 2025

When installing Breeze with API stack in a Laravel Sail project, update docker-compose.yml accordingly:

  • Update default APP_PORT
  • Remove VITE_PORT, as Vite not used in the API stack

Before:

        ports:
            - '${APP_PORT:-80}:80'
            - '${VITE_PORT:-5173}:${VITE_PORT:-5173}'

After:

        ports:
            - '${APP_PORT:-8000}:80'

Note: changes are only applied if docker-compose.yml exists.

- Update default `APP_PORT`
- Remove `VITE_PORT`
@josephmiclaus josephmiclaus changed the title [2.x] Fix docker-compose.yml ports for Sail installations [2.x] [API stack] Fix docker-compose.yml ports for Sail installations Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant