16 lines
393 B
YAML
16 lines
393 B
YAML
services:
|
|
app:
|
|
build: .
|
|
image: docker_status:latest
|
|
container_name: docker-status
|
|
ports:
|
|
- 127.0.0.1:1111:80
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ${PWD}/config.json:/app/config.json:ro
|
|
#healthcheck:
|
|
# test: wget -nv --tries=1 --spider http://localhost/stats || exit 1
|
|
# interval: 30s
|
|
# timeout: 5s
|
|
# retries: 2
|