Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Trèfle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Open source
Trèfle
Commits
a27750e1
Commit
a27750e1
authored
Jul 02, 2020
by
David Foucher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix logrotate with web and trefle container
parent
b0ad2ad0
Pipeline
#3492
passed with stages
in 7 minutes and 12 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
docker/dockerfile_trefle
docker/dockerfile_trefle
+3
-2
docker/dockerfile_web
docker/dockerfile_web
+2
-1
No files found.
docker/dockerfile_trefle
View file @
a27750e1
...
...
@@ -29,10 +29,11 @@ COPY trefle/srv/authorisations.csv ./authorisations.csv
COPY trefle/start.sh .
# setup virtualenv
# setup virtualenv
+ permission
RUN pip install pip -U && \
pip install gunicorn && \
pip install git+${TREFLE_GIT}@${TREFLE_VERSION}
pip install git+${TREFLE_GIT}@${TREFLE_VERSION} && \
chmod 600 /etc/logrotate.d/gunicorn
#start
ENTRYPOINT ./start.sh
docker/dockerfile_web
View file @
a27750e1
...
...
@@ -11,7 +11,7 @@ RUN git clone -b ${TREFLE_BACK_VERSION} ${TREFLE_GIT} /srv/trefle && \
npm run build
FROM ubuntu:
xenial
FROM ubuntu:
bionic
LABEL maintainer="labonneformation@pole-emploi.fr"
...
...
@@ -26,6 +26,7 @@ RUN apt-get update && apt-get -y install \
vim \
bzip2 \
cron \
rsyslog \
logrotate \
iptables \
git \
...
...
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