add exposed ports and healthcheck

This commit is contained in:
Stefan Allius
2024-06-15 23:19:10 +02:00
parent d7767cb5ea
commit cc8674d108
2 changed files with 9 additions and 1 deletions

View File

@@ -77,10 +77,15 @@ services:
- ${DNS2:-4.4.4.4}
ports:
- 5005:5005
- 8127:8127
- 10000:10000
volumes:
- ${PROJECT_DIR:-./}tsun-proxy/log:/home/tsun-proxy/log
- ${PROJECT_DIR:-./}tsun-proxy/config:/home/tsun-proxy/config
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8127/-/healthy || exit 1
interval: 10s
timeout: 3s
networks:
- outside