Skip to content

Fixed build fail issue on "docker compose watch" #48

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Animati0n
Copy link

@Animati0n Animati0n commented Feb 8, 2025

While testing the project found that build is failing found 2 reasons:

  • I was using port 80 already with apache setup

fix:

 port:
-   - 80:80 
+   - 9000:80
  • The back-end was failing because of sever trying to access MySQL before image build is completed or MySQL fully initialized
    fix:
+   depends_on: 
+          - mysql

While testing the project found that bulid is failing found 2 reasons:

-- I was using port 80 already with apthche setup

---fix:
 port:
   - 80:80
to

  port:
   - 9000:80

-- the backend was failing because of sever tring to access mysql before
image  build is completed  or MySQL fully initilaized

---fix:

 * added depends_on: - mysql
@Animati0n Animati0n marked this pull request as ready for review February 8, 2025 10:25
@Animati0n
Copy link
Author

Sorry, it's my first time learning to use this.

@Animati0n Animati0n marked this pull request as draft February 13, 2025 17:52
@Animati0n Animati0n marked this pull request as ready for review March 4, 2025 07:18
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