Commit ebc49e25 authored by bensinober's avatar bensinober
Browse files

Add ENV fix for cronjobs

parent 20cd7d16
......@@ -13,4 +13,4 @@ RUN mkdir /app
WORKDIR /app
ADD . /app
COPY crontab /etc/crontab
RUN crontab /etc/crontab
\ No newline at end of file
COPY run-cron.sh /app/run-cron.sh
\ No newline at end of file
......@@ -69,7 +69,7 @@ services:
- deichman-dev
volumes:
- bundler-data:/usr/local/bundle
command: cron -f -l 2
command: /app/run-cron.sh
environment:
MYCEL_USERNAME: ${MYCEL_USERNAME:-mycel}
MYCEL_PASSWORD: ${MYCEL_PASSWORD:-secret}
......@@ -123,7 +123,7 @@ services:
COUNTER_PASS: ${COUNTER_PASS:-pass}
MYCEL_USERNAME: ${MYCEL_USERNAME:-mycel}
MYCEL_PASSWORD: ${MYCEL_PASSWORD:-secret}
command: cron -f -l 2
command: /app/run-cron.sh
eventstat:
build:
......
......@@ -24,5 +24,5 @@ RUN mkdir /app
WORKDIR /app
ADD . /app
COPY crontab /etc/crontab
RUN crontab /etc/crontab
COPY run-cron.sh /app/run-cron.sh
ADD ./views/template.stats_all /app/views/stats_all.slim
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment