Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
Proxy
Commits
6188f2e7
Commit
6188f2e7
authored
4 years ago
by
Davide Aprea
Browse files
Options
Downloads
Patches
Plain Diff
add worker container
parent
0206700d
No related branches found
Branches containing commit
No related tags found
1 merge request
!19
Resolve "use multi curl to improve performance"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+1
-0
1 addition, 0 deletions
Dockerfile
DockerfileDev
+1
-0
1 addition, 0 deletions
DockerfileDev
docker-compose.yml
+12
-3
12 additions, 3 deletions
docker-compose.yml
with
14 additions
and
3 deletions
Dockerfile
+
1
−
0
View file @
6188f2e7
...
...
@@ -17,6 +17,7 @@ RUN apk add --update \
php7-tokenizer
\
php7-xml
\
php7-curl
\
php7-pcntl
\
php7-dom
\
php7-fileinfo
\
&&
rm
-rf
/var/cache/apk/
*
...
...
This diff is collapsed.
Click to expand it.
DockerfileDev
+
1
−
0
View file @
6188f2e7
...
...
@@ -17,6 +17,7 @@ RUN apk add --update \
php7-tokenizer \
php7-xml \
php7-curl \
php7-pcntl \
php7-dom \
php7-fileinfo \
&& rm -rf /var/cache/apk/*
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
12
−
3
View file @
6188f2e7
...
...
@@ -20,14 +20,14 @@ services:
build
:
context
:
.
dockerfile
:
DockerfileDev
image
:
metager
:latest
image
:
proxy
:latest
working_dir
:
/html
volumes
:
-
.:/html
web
:
depends_on
:
-
"
phpfpm"
image
:
metager
:latest
image
:
proxy
:latest
working_dir
:
/html
command
:
nginx
volumes
:
...
...
@@ -38,4 +38,13 @@ services:
-
"
8080:80"
redis
:
image
:
redis:5.0.3-alpine
container_name
:
redis
\ No newline at end of file
container_name
:
redis
worker
:
depends_on
:
-
"
phpfpm"
restart
:
on-failure
image
:
proxy:latest
working_dir
:
/html
volumes
:
-
.:/html
command
:
"
su
-s
/bin/sh
-c
'php
artisan
requests:fetcher'
nginx"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment