Files
robot-plugins/docker-compose.yml

17 lines
402 B
YAML
Executable File

services:
web:
image: nginx:alpine
ports:
- "8080:80"
volumes:
- .:/usr/share/nginx/html:ro
environment:
- NGINX_HOST=localhost
- NGINX_PORT=80
command: >
/bin/sh -c "nginx -g 'daemon off;'"
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:80"]
interval: 10s
timeout: 5s
retries: 3