docker-crontab/docker-compose.yml
will Farrell 76675e99d5 bug fix
only first w/ onstart was triggered
2017-04-07 23:25:53 -06:00

16 lines
370 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:ro"
# - "/usr/bin/docker:/usr/bin/docker:ro"
- "/Users/willfarrell/Development/docker/docker-crontab/home_dir:/opt/crontab:rw"