docker-crontab/docker-compose.yml
2017-02-12 16:28:53 -07:00

14 lines
235 B
YAML

version: "2.1"
services:
myapp:
image: alpine:3.5
restart: always
command: "sh -c 'while :; do sleep 1; done'"
crontab:
build: .
restart: always
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"