Added service cron

This commit is contained in:
Luiz F Picolo 2022-06-16 00:05:03 -04:00
parent 6ec522b007
commit c9184a687a
1 changed files with 11 additions and 1 deletions

View File

@ -13,3 +13,13 @@ services:
volumes: volumes:
- .:/code - .:/code
cron:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
tty: true
container_name: cron
command: whenever -i
volumes:
- .:/code