Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
docker-php-yii2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dmstr
docker-php-yii2
Commits
1afa3e5b
Commit
1afa3e5b
authored
Dec 15, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed log forwarding (taken from original nginx image)
parent
d84d5586
Pipeline
#16969
passed with stages
in 1 minute and 29 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Dockerfile-fpm-alpine-nginx
nginx/Dockerfile-fpm-alpine-nginx
+4
-0
Dockerfile-fpm-nginx
nginx/Dockerfile-fpm-nginx
+4
-0
No files found.
nginx/Dockerfile-fpm-alpine-nginx
View file @
1afa3e5b
...
...
@@ -11,6 +11,10 @@ RUN apk --update add nginx
COPY image-files/ /
RUN chown -R www-data:www-data /var/lib/nginx/
# forward request and error logs to docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log
CMD ["forego", "start", "-r", "-f", "/root/Procfile"]
EXPOSE 80 443
\ No newline at end of file
nginx/Dockerfile-fpm-nginx
View file @
1afa3e5b
...
...
@@ -16,6 +16,10 @@ RUN apt-get update \
# Add configuration files
COPY image-files/ /
# forward request and error logs to docker log collector
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log
CMD ["forego", "start", "-r", "-f", "/root/Procfile"]
EXPOSE 80 443
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