Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🛠️ Separate docker-compose environment for development #9844

Open
4 tasks
Tracked by #9840
petertgiles opened this issue Mar 21, 2024 · 1 comment · May be fixed by #10573
Open
4 tasks
Tracked by #9840

🛠️ Separate docker-compose environment for development #9844

petertgiles opened this issue Mar 21, 2024 · 1 comment · May be fixed by #10573
Assignees
Labels
tooling Tooling, automation and CI to support development.

Comments

@petertgiles
Copy link
Contributor

🛠️ Tooling

We have a docker container for our webserver that is very similar to our prod environment which is good for testing and verification. However, it limits some exciting dev features like building the app in the container setup, in-container watch, HMR, or GH dev containers. Let's set up a separate docker-compose file for development. This could have Laravel running in a container on its dev server and Webpack running in a different container on its dev server. Perhaps this could remove the need for a separate maintenance container.

🕵️ Details

Some known challenges:

  • CORs on API requests is not properly configured
  • we have a lot of logic that assumes the API is running on the same host as the web server
  • might need a reverse proxy container to handle routing from the browser

✅ Acceptance Criteria

  • Separate docker-compose file for development
  • Laravel serving the API from it's own container
  • Webpack serving pages from it's own container
  • Original docker-compose network remains unchanged
@petertgiles petertgiles added the tooling Tooling, automation and CI to support development. label Mar 21, 2024
@petertgiles petertgiles self-assigned this May 27, 2024
@petertgiles petertgiles linked a pull request Jun 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Tooling, automation and CI to support development.
Projects
Status: 📋 Ready for Dev
Development

Successfully merging a pull request may close this issue.

2 participants