add monitoring network
This commit is contained in:
@@ -14,6 +14,9 @@ services:
|
|||||||
- SPRING_CLOUD_CONFIG_URI=http://192.168.2.22:10022
|
- SPRING_CLOUD_CONFIG_URI=http://192.168.2.22:10022
|
||||||
- SPRING_CLOUD_CONFIG_PROFILE=prod
|
- SPRING_CLOUD_CONFIG_PROFILE=prod
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- monitoring
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: wget --no-verbose --tries=1 --spider http://localhost:8181/health || exit 1
|
test: wget --no-verbose --tries=1 --spider http://localhost:8181/health || exit 1
|
||||||
interval: 20s
|
interval: 20s
|
||||||
@@ -58,6 +61,6 @@ services:
|
|||||||
- client-backend
|
- client-backend
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
volumes:
|
networks:
|
||||||
db-data:
|
monitoring:
|
||||||
pgadmin-data:
|
external: true
|
||||||
Reference in New Issue
Block a user