mirror of
https://github.com/willfarrell/docker-autoheal.git
synced 2024-12-06 19:16:20 +01:00
da333f55b1
on CI servers where multiple docker containers run we might not want to restart docker containers from other builds running in parallel
13 lines
244 B
YAML
13 lines
244 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
|
|
watch-autoheal:
|
|
build: watch-autoheal
|
|
restart: "no"
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
environment:
|
|
COMPOSE_PROJECT_NAME: $COMPOSE_PROJECT_NAME
|
|
network_mode: none
|