Browse Source

Update CaddyFile to use the links

Antoine Aflalo 3 years ago
parent
commit
5078cdbe20
1 changed files with 4 additions and 4 deletions
  1. 4 4
      docker/Caddyfile

+ 4 - 4
docker/Caddyfile

@@ -5,15 +5,15 @@
 
 
 # Dashboard
 # Dashboard
 https://dashboard.NETMAKER_BASE_DOMAIN {
 https://dashboard.NETMAKER_BASE_DOMAIN {
-    reverse_proxy http://127.0.0.1:8082
+    reverse_proxy http://ui:80
 }
 }
 
 
 # API
 # API
 https://api.NETMAKER_BASE_DOMAIN {
 https://api.NETMAKER_BASE_DOMAIN {
-    reverse_proxy http://127.0.0.1:8081
+    reverse_proxy http://api:8081
 }
 }
 
 
 # gRPC
 # gRPC
 https://grpc.NETMAKER_BASE_DOMAIN {
 https://grpc.NETMAKER_BASE_DOMAIN {
-    reverse_proxy h2c://127.0.0.1:50051
-}
+    reverse_proxy h2c://api:50051
+}