Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dtu-enote
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
enote
dtu-enote
Commits
4f9a16b2
Commit
4f9a16b2
authored
Apr 25, 2019
by
iaibrys
Browse files
Options
Downloads
Patches
Plain Diff
Create cache volume to save getpdf results between sessions.
parent
f1ff2c22
No related branches found
No related tags found
No related merge requests found
Pipeline
#327
passed
Apr 25, 2019
Stage: build
Stage: release
Stage: deploy
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
erb/docker-compose-enote.yml.erb
+3
-0
3 additions, 0 deletions
erb/docker-compose-enote.yml.erb
generate.rb
+1
-1
1 addition, 1 deletion
generate.rb
lib/docker_compose_helpers.rb
+3
-1
3 additions, 1 deletion
lib/docker_compose_helpers.rb
lib/enote_config.rb
+1
-2
1 addition, 2 deletions
lib/enote_config.rb
with
8 additions
and
4 deletions
erb/docker-compose-enote.yml.erb
+
3
−
0
View file @
4f9a16b2
...
@@ -138,6 +138,7 @@ services:
...
@@ -138,6 +138,7 @@ services:
-
<%=
@data_root
%>
/content:/content
-
<%=
@data_root
%>
/content:/content
-
<%=
@log_root
%>
/getpdf:/getpdf-server/log
-
<%=
@log_root
%>
/getpdf:/getpdf-server/log
-
<%=
@data_root
%>
/sharelatex-data/:/sharelatex
-
<%=
@data_root
%>
/sharelatex-data/:/sharelatex
- getpdf_cache:/cache
environment:
environment:
TIMEZONE_CITY: '
<%=
timezone_city
%>
'
TIMEZONE_CITY: '
<%=
timezone_city
%>
'
TZ: '
<%=
timezone
%>
'
TZ: '
<%=
timezone
%>
'
...
@@ -274,3 +275,5 @@ services:
...
@@ -274,3 +275,5 @@ services:
<%
for
container
in
(
expected_containers
.
reject
{
|
x
|
x
.
eql?
'enote-proxy'
})
%>
<%
for
container
in
(
expected_containers
.
reject
{
|
x
|
x
.
eql?
'enote-proxy'
})
%>
-
<%=
container
%><%
end
%>
-
<%=
container
%><%
end
%>
volumes:
getpdf_cache:
This diff is collapsed.
Click to expand it.
generate.rb
+
1
−
1
View file @
4f9a16b2
This diff is collapsed.
Click to expand it.
lib/docker_compose_helpers.rb
+
3
−
1
View file @
4f9a16b2
...
@@ -34,6 +34,8 @@ module DockerComposeHelpers
...
@@ -34,6 +34,8 @@ module DockerComposeHelpers
to
,
from
=
volume_binding
.
split
(
':'
)
to
,
from
=
volume_binding
.
split
(
':'
)
next
unless
to
.
starts_with?
'/'
# i.e. not a named volume
exist
=
yield
to
exist
=
yield
to
unless
exist
unless
exist
missing
=
true
missing
=
true
...
...
This diff is collapsed.
Click to expand it.
lib/enote_config.rb
+
1
−
2
View file @
4f9a16b2
...
@@ -28,7 +28,6 @@ module EnoteConfig
...
@@ -28,7 +28,6 @@ module EnoteConfig
attr_accessor
:docker_machine
attr_accessor
:docker_machine
attr_accessor
:timezone
attr_accessor
:timezone
default_enabled_features
=
{
default_enabled_features
=
{
:redis
=>
true
,
:redis
=>
true
,
:revproxy
=>
true
,
:revproxy
=>
true
,
...
...
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