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

Can't run two projects on same machine at the same time #342

Closed
0xCardinalError opened this issue Nov 15, 2018 · 1 comment
Closed

Can't run two projects on same machine at the same time #342

0xCardinalError opened this issue Nov 15, 2018 · 1 comment

Comments

@0xCardinalError
Copy link
Contributor

I am trying to run 2 instances on separate folders with different docker-compose.yml and seems they are clashing.

  • I am running on Mac OSX
  • I dont use docker-sync
  • I dont use traffic.yml

I did setup each docker-compose.yml under traffic service to have different port, like
- '8100:80'
- '8300:80'
I did setup hosts files. And also when I put to stop one of the docker-compose and its services the other starts to work. Each container has
container_name: "${PROJECT_NAME}_portainer"

So either I am trying to do something that is not ment to be done at all and for some reason I must use traffic.yml and setup more sites in that way or I have some sort of clash that is not known?

@0xCardinalError
Copy link
Contributor Author

0xCardinalError commented Nov 15, 2018

I found out problem is in hardcoded default
- 'traefik.backend=nginx'
for nginx service, providing a patch here.
#343

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

No branches or pull requests

1 participant