Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
phd5-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
phd5-app
Commits
f864d87c
Commit
f864d87c
authored
Mar 06, 2023
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added ssh to dev/builder image (git repos), added worker ENV
parent
e82c67bc
Pipeline
#74857
failed with stage
in 1 minute and 6 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Dockerfile
Dockerfile
+3
-1
worker.conf
image-files/etc/supervisor/conf.d/worker.conf
+1
-1
No files found.
Dockerfile
View file @
f864d87c
...
...
@@ -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 /
...
...
image-files/etc/supervisor/conf.d/worker.conf
View file @
f864d87c
[
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment