-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
#need help : 2 servers 1 public ip #85
Comments
Hello @ben7244, Thanks for your message. The have it running you must use port 80 and 443 as of requested by the @jwilder containers, we use... But if you have two different servers, even if it shares the same external ip, the local ip is different you would use port 80 and 443 the both server... if there is two different servers. Let me know if I could be of any help. |
Thank you @evertramos! if I understood. I need proxy companion on only one server. So I can use my actual proxy to redirect on the second server. |
@ben7244, sorry... I mean you should have proxy on both server, listening on port 80 and 443 on both server. So, it will be two environments. Do you want to load balance? You could try to use Kubernetes or Ingress to do it so, might want to check swarm as well, but with this proxy might be little hard to do load balancing on two different server... I am working on a new proxy but it will take some time to put it to production. Hope you get through this.. |
@evertramos, thank you! I continue to search, all help is welcome! |
You could do that with an extra nginx to administrate your services as of this sample: https://github.com/evertramos/nignx-behind-proxy Let me know if it was of any help. |
Perfect! Thank you for all your advices! Can you tell us more on your new proxy or that's a surprise? |
I am just trying to automate everything for a devop, creating a script to backup it containers data and wordpress, restore in another server if needed, and also simplify the ssl certificates for same domain with new Let's Encrypt option for wildcard which we do not have today... I am styding traefik, ingress. and it will probably be the best solution for it. If you use wordpress you could follow up and give some ideas on: https://github.com/evertramos/docker-wordpress-backup Still in development ok? |
Thanks for your back. I don't use WordPress but I will follow your project. Thanks for your help! Bye |
I do have a couple apps in Laravel as well but still not mature enough for the CI... using GitLab for the moment, but will share the code as well, soon. |
Hi all,
I have 2 docker servers on the same physical network for only one public ip.
I use the first server on the port 80 and 443 with docker-compose-letsencrypt-nginx-proxy-companion and I would thanks people who's participating at this project.
But now I want to use the second with the proxy companion. I set a another docker-compose on on the second on 8080 and 4343 ports
But that not work.
I've an error on the creation of the certificat.
Let's Encrypt need the domain an http connection.
Anyone can give me how can I set this?
Thank you?
The text was updated successfully, but these errors were encountered: