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

22 lines
517 B
YAML
Raw Normal View History

version: '3'
services:
testplatform_web:
image: 180.76.106.6: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