lepu-test-platform-web/compose/front/docker-compose.yml

22 lines
518 B
YAML
Raw Normal View History

version: '3'
services:
testplatform_web:
2024-03-04 02:06:28 +00:00
image: 8.140.205.154:18081/library/lepu-test-platform-web:${branch}
container_name: testplatform_web
hostname: testplatform_web
volumes:
- /application/web/:/var/log/nginx/
ports:
- 9527:80
restart: on-failure
healthcheck:
test: ["CMD-SHELL","curl --connect-timeout 3 http://localhost:9527"]
interval: 10s
timeout: 5s
retries: 3
networks:
- net-spring-db
networks:
net-spring-db:
driver: bridge