HoraceTian commented on issue #6005:
URL: https://github.com/apache/shenyu/issues/6005#issuecomment-2801952554

   services:
     shenyu-bootstrap:
       image: apache/shenyu-bootstrap:2.6.1
       container_name: shenyu-bootstrap
       networks:
         - horace_cloud_net
       ports:
         - "9195:9195"
       volumes:
         - ./shenyu-bootstrap/logs/:/opt/shenyu-bootstrap/logs
         - ./shenyu-bootstrap/conf/:/opt/shenyu-bootstrap/conf
         - ./shenyu-bootstrap/ext-lib/:/opt/shenyu-bootstrap/ext-lib
       depends_on:
         - shenyu-admin
       environment:
         - shenyu.sync.websocket.urls=ws://shenyu-admin:9095/websocket
         - NACOS_PASSWORD=${NACOS_PASSWORD}
         - NACOS_USERNAME=${NACOS_USERNAME}
         - NACOS_SERVER_ADDR=${NACOS_SERVER_ADDR}
         - GATEWAY_NACOS_GROUP=${GATEWAY_NACOS_GROUP}
         - GATEWAY_NACOS_NAMESPACE=${GATEWAY_NACOS_NAMESPACE}
       healthcheck:
         test: [ "CMD", "wget", "http://shenyu-bootstrap:9195/actuator/health"; ]
         timeout: 2s
         retries: 30
     shenyu-admin:
       image: apache/shenyu-admin:2.6.1
       container_name: shenyu-admin
       networks:
         - horace_cloud_net
       environment:
         - EMAIL_USERNAME=${EMAIL_USERNAME}
         - EMAIL_PASSWORD=${EMAIL_PASSWORD}
         - MYSQL_DATABASE_HOST=${MYSQL_DATABASE_HOST}
         - MYSQL_DATABASE_PORT=${MYSQL_DATABASE_PORT}
         - MYSQL_DATABASE_USERNAME=${MYSQL_DATABASE_USERNAME}
         - MYSQL_DATABASE_PASSWORD=${MYSQL_DATABASE_PASSWORD}
         - GATEWAY_DATABASE_NAME=${GATEWAY_DATABASE_NAME}
       volumes:
         - ./shenyu-admin/logs/:/opt/shenyu-admin/logs
         - ./shenyu-admin/conf/:/opt/shenyu-admin/conf
         - ./shenyu-admin/ext-lib/:/opt/shenyu-admin/ext-lib
       ports:
         - "9095:9095"
       healthcheck:
         test: [ "CMD-SHELL", "wget -q -O - 
http://shenyu-admin:9095/actuator/health | grep UP || exit 1" ]
         timeout: 2s
         retries: 30
   
   networks:
     horace_cloud_net:
       external: true
   
   
   @Aias00 This is my docker-compose configuration


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to