Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Nov 12, 2024
1 parent 78a74ac commit f058d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RUN RELAY_CONFIG_FILE=/usr/local/etc/php/conf.d/docker-php-ext-relay.ini && \
# Set log file to stderr
sed -i 's/^;\? \?relay.logfile =.*/relay.logfile = \/dev\/stderr/' $RELAY_CONFIG_FILE && \
# Settings related to the in-memory cache (not Redis).
## Set maxmemory to 16M.
## Set maxmemory to 16M - this is the max. w/o a license.
sed -i 's/^;\? \?relay.maxmemory =.*/relay.maxmemory = 16M/' $RELAY_CONFIG_FILE && \
## Eviction policy: lru. Evicts the least recently used keys out of all keys when relay.maxmemory_pct is reached
sed -i 's/^;\? \?relay.eviction_policy =.*/relay.eviction_policy = lru/' $RELAY_CONFIG_FILE && \
Expand Down

0 comments on commit f058d20

Please sign in to comment.