Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
deichman
Manage
Activity
Members
Labels
Plan
Issues
16
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digibib
deichman
Commits
7da80ada
Commit
7da80ada
authored
3 years ago
by
David Björkheim
Browse files
Options
Downloads
Patches
Plain Diff
DEICH-0000
Limit cpu for some services locally to reduce peak loads
parent
854ca5e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!198
DEICH-0000 Limit cpu for some services locally to reduce peak loads
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.override.yml
+15
-10
15 additions, 10 deletions
docker-compose.override.yml
with
15 additions
and
10 deletions
docker-compose.override.yml
+
15
−
10
View file @
7da80ada
version
:
"
2.4"
# The CPU is limited to 50 % on some services due to issues with batch-jobs firing in the local dev environment. The long-term fix is to be able to disable them when working locally and moving all Koha-jobs to Cronicle.
# Common labels used for all services
x-common-labels
:
&common-labels
org.label-schema.build-date
:
"
${BUILD_DATE:-N/A}"
...
...
@@ -9,7 +10,7 @@ x-common-labels: &common-labels
volumes
:
grafana_data
:
{}
services
:
traefik
:
command
:
...
...
@@ -50,17 +51,17 @@ services:
traefik.http.routers.cadvisor.entrypoints
:
"
web"
traefik.http.routers.cadvisor.rule
:
"
HostRegexp(`{hostname:(cadvisor)
\\
..*}`)"
volumes
:
#- /:/rootfs:ro
-
/var/run:/var/run:ro
-
/sys:/sys:ro
-
/var/lib/docker/:/var/lib/docker:ro
#- /:/rootfs:ro
-
/var/run:/var/run:ro
-
/sys:/sys:ro
-
/var/lib/docker/:/var/lib/docker:ro
cronicle
:
build
:
context
:
cronicle
volumes
:
-
/tmp/backups:/backups
-
/tmp/backups:/backups
deichman.no
:
command
:
-
"
npm"
...
...
@@ -90,6 +91,7 @@ services:
no.deichman.label.component-category
:
"
Frontend"
elasticsearch
:
cpus
:
0.50
build
:
context
:
elasticsearch
labels
:
...
...
@@ -179,6 +181,7 @@ services:
-
./katalog/nginx/nginx-root-dev.conf:/etc/nginx/conf.d/nginx-root.conf:ro
koha
:
cpus
:
0.50
build
:
context
:
koha
labels
:
...
...
@@ -197,10 +200,11 @@ services:
-
./koha:/koha
koha-db
:
cpus
:
0.50
volumes
:
-
"
/tmp/backups:/xtrabackup_backupfiles"
ports
:
-
"
3306:3306"
-
"
3306:3306"
kibana
:
image
:
"
digibib/kibana:${TAG:-latest}"
...
...
@@ -245,7 +249,7 @@ services:
no.deichman.label.component-category
:
"
Backend"
command
:
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=0.0.0.0:7699 -jar /app/mimir.jar
ports
:
-
"
7699:7699"
-
"
7699:7699"
prometheus
:
image
:
"
prom/prometheus:v2.17.1"
...
...
@@ -352,8 +356,9 @@ services:
max-file
:
"
3"
virtuoso
:
cpus
:
0.50
ports
:
-
"
1111:1111"
-
"
1111:1111"
build
:
context
:
virtuoso
labels
:
...
...
This diff is collapsed.
Click to expand it.
Benjamin
@bensinober
mentioned in commit
718da52e
·
3 years ago
mentioned in commit
718da52e
mentioned in commit 718da52e2bb8a573e2cd191128cf3745f1bb6e48
Toggle commit list
Benjamin
@bensinober
mentioned in commit
6672eca3
·
3 years ago
mentioned in commit
6672eca3
mentioned in commit 6672eca39fb8ccb12526089f306a1d2b5a1014fc
Toggle commit list
Preview
0%
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