WXzhongwang commented on issue #5265:
URL: https://github.com/apache/shenyu/issues/5265#issuecomment-1788914775
docker-compose.yml
```yaml
version: "3"
services:
shenyu-bootstrap:
image: apache/shenyu-bootstrap:latest
container_name: shenyu-bootstrap
ports:
- "9195:9195"
volumes:
- ./shenyu-bootstrap/logs/:/opt/shenyu-bootstrap/logs
- ./shenyu-bootstrap/conf/:/opt/shenyu-bootstrap/conf
depends_on:
- shenyu-admin
environment:
- shenyu.sync.websocket.urls=ws://shenyu-admin:9095/websocket
healthcheck:
test: [ "CMD", "wget", "http://shenyu-bootstrap:9195/actuator/health" ]
timeout: 2s
retries: 30
shenyu-admin:
image: apache/shenyu-admin:latest
container_name: shenyu-admin
volumes:
- ./shenyu-admin/logs/:/opt/shenyu-admin/logs
- ./shenyu-admin/conf/:/opt/shenyu-admin/conf
ports:
- "9095:9095"
healthcheck:
test: [ "CMD-SHELL", "wget -q -O -
http://shenyu-admin:9095/actuator/health | grep UP || exit 1" ]
timeout: 2s
retries: 30
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]