gemercheung 3 years ago
parent
commit
278ac7f2b5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docker-compose.yml

+ 2 - 0
docker-compose.yml

@@ -4,6 +4,7 @@ services:
   chat-socket:
     restart: always
     container_name: $CONTAINER_NAME
+    hostname: chat-socket
     build:
       context: .
     ports:
@@ -17,6 +18,7 @@ services:
   chat-socket1:
     restart: always
     container_name: $CONTAINER_NAME1
+    hostname: chat-socket-1
     build:
       context: .
     ports: