File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ job "loadbalancer" {
3434
3535 config {
3636 image = " wkwtfigo/load-balancer:latest"
37- ports = [" http" ]
37+ ports = [" http" , " communication " ]
3838 volumes = [
39- " /var/log/app-redirect-balancer:/app/.logs"
39+ " /var/log/app-redirect-balancer/ :/app/.logs/ "
4040 ]
4141 }
4242
@@ -55,6 +55,10 @@ job "loadbalancer" {
5555 static = 8000
5656 to = 8000
5757 }
58+ port "communication" {
59+ static = 8001
60+ to = 8001
61+ }
5862 }
5963 }
6064}
Original file line number Diff line number Diff line change 22 "balancing_address" : " 151.242.43.104:8000" ,
33 "balanced_port" : 8080 ,
44 "application_port" : 8888 ,
5- "log_file" : " . /.logs/balanced.log"
5+ "log_file" : " /app /.logs/balanced.log"
66}
Original file line number Diff line number Diff line change 33 "balancing_port" : 8000 ,
44 "exposed_port" : 8001 ,
55 "type" : " redirect" ,
6- "log_file" : " . /.logs/balancer.log"
6+ "log_file" : " /app /.logs/balancer.log"
77}
You can’t perform that action at this time.
0 commit comments