Skip to content

Commit 5ebe29f

Browse files
committed
Improvements to Redis configuration an docker-stack-ui
1 parent 905eb04 commit 5ebe29f

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

docker/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ MYSQL_DATABASE=default_db
33
MYSQL_USER=mysql
44
MYSQL_PASSWORD=mysql
55
GITHUB_TOKEN=12345
6+
VSCODE_SECURE=0
67
RUNNING_PROJECT=""
78
XDEBUG_MODE=off

docker/rediscache/redis.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,7 @@ always-show-logo yes
215215
#
216216
# save ""
217217

218-
save 900 1
219-
save 300 10
220-
save 60 10000
218+
save ""
221219

222220
# By default Redis will stop accepting writes if RDB snapshots are enabled
223221
# (at least one save point) and the latest background save failed.
@@ -588,6 +586,7 @@ slave-priority 100
588586
# The default is:
589587
#
590588
# maxmemory-policy noeviction
589+
maxmemory-policy volatile-lru
591590

592591
# LRU, LFU and minimal TTL algorithms are not precise algorithms but approximated
593592
# algorithms (in order to save memory), so you can tune it for speed or

docker/redisfullpage/redis.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,7 @@ always-show-logo yes
215215
#
216216
# save ""
217217

218-
save 900 1
219-
save 300 10
220-
save 60 10000
218+
save ""
221219

222220
# By default Redis will stop accepting writes if RDB snapshots are enabled
223221
# (at least one save point) and the latest background save failed.
@@ -588,6 +586,7 @@ slave-priority 100
588586
# The default is:
589587
#
590588
# maxmemory-policy noeviction
589+
maxmemory-policy volatile-lru
591590

592591
# LRU, LFU and minimal TTL algorithms are not precise algorithms but approximated
593592
# algorithms (in order to save memory), so you can tune it for speed or

docker/redissession/redis.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,7 @@ slave-priority 100
588588
# The default is:
589589
#
590590
# maxmemory-policy noeviction
591+
maxmemory-policy volatile-lru
591592

592593
# LRU, LFU and minimal TTL algorithms are not precise algorithms but approximated
593594
# algorithms (in order to save memory), so you can tune it for speed or

src/docker-stack-ui.loc/pub/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public static function containersStatusColumnRenderer ()
136136
"[
137137
{
138138
data: 'container',
139+
render: function (data, type) {if (type === 'display') { if (data == 'lighthouse-server') { return '<a target=\'_blank\' href=\'http://lighhouse.loc\'>lighthouse-server</a>';} else if (data == 'mailhog') { return '<a target=\'_blank\' href=\'http://mailhog.loc\'>mailhog</a>';} else if (data == 'kibana') { return '<a target=\'_blank\' href=\'http://kibana.loc\'>lighthouse-server</a>';} else if (data == 'vscode-server') { return '<a target=\'_blank\' href=\'http://vscode.loc\'>vscode-server</a>';} else { return data;} } return data;}
139140
},
140141
{
141142
data: 'status',

0 commit comments

Comments
 (0)