Commit f864d87c authored by Tobias Munk's avatar Tobias Munk

added ssh to dev/builder image (git repos), added worker ENV

parent e82c67bc
Pipeline #74857 failed with stage
in 1 minute and 6 seconds
......@@ -3,6 +3,7 @@ ARG BUILD_NO_INSTALL
RUN apt-get update \
&& apt-get install -y $PHPIZE_DEPS \
ssh \
default-mysql-client \
cron \
procps # recommended for dmstr/yii2-resque-module \
......@@ -14,7 +15,8 @@ RUN apt-get update \
ENV SUPERVISOR_START_CRON=true \
SUPERVISOR_START_WORKER=true \
SUPERVISOR_START_EXPORT_ENV=true
SUPERVISOR_START_EXPORT_ENV=true \
SUPERVISOR_WORKER_CMD_OPTS=""
# System files
COPY ./image-files /
......
[program:worker]
command=yii queue/listen
command=yii queue/listen %(ENV_SUPERVISOR_WORKER_CMD_OPTS)s
autostart=%(ENV_SUPERVISOR_START_WORKER)s
autorestart=true
priority=70
......
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