Reorganize docker-related files

This commit is contained in:
Glenn Y. Rolland 2018-08-27 15:48:20 +02:00
parent 716919754a
commit ba60a6d7cb
3 changed files with 10 additions and 2 deletions

View file

@ -11,7 +11,7 @@ RUN apk update \
RUN mkdir /app RUN mkdir /app
COPY --from=build /go/src/github.com/glenux/trello2mail-go/trello2mail /app/ COPY --from=build /go/src/github.com/glenux/trello2mail-go/trello2mail /app/
COPY trello2mail.cron /app/ COPY docker/trello2mail.cron /app/
RUN /usr/bin/crontab /app/trello2mail.cron RUN /usr/bin/crontab /app/trello2mail.cron
CMD ["/usr/sbin/cron","-f"] CMD ["/usr/sbin/cron","-f"]

9
docker/trello2mail.cron Normal file
View file

@ -0,0 +1,9 @@
# Private tasks
0 8 * * * /app/trello2main --trello-board xxxxxxxx
# Project 1
1 8 * * * /app/trello2main --trello-board yyyyyyyy
# Project 2
2 8 * * * /app/trello2main --trello-board zzzzzzzz

View file

@ -1 +0,0 @@
* 8 * * * /app/trello2main