Skip to content

Commit

Permalink
Increase size of NGINX persistent storage to 10Gi
Browse files Browse the repository at this point in the history
This is the size limit currently set by the largest library site. Make
this the default for all sites.

We currently do not have a good way to set individual size limits per
site. This has created a suboptimal workflow where the site in
question has to be updated manually after each workflow for the
deployment to complete.

We could introduce a way to control this per site in sites.yaml but it
would not provide much value. We pay for storage used - not reserved.
Consequently increasing the limit for all sites should not increase
costs considerably until it is actually used.

All this in mind we increase the size of the the persistent storage
for the Lagoon default of 5Gb to 10Gb.
https://docs.lagoon.sh/concepts-basics/docker-compose-yml/#persistent-storage
  • Loading branch information
kasperg committed Jan 6, 2025
1 parent 77e9ce9 commit 71b19bd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ services:
labels:
lagoon.type: nginx-php-persistent
lagoon.persistent: /app/web/sites/default/files/ # define where the persistent storage should be mounted too
lagoon.persistent.size: 10Gi
environment:
<< : *default-environment # loads the defined environment variables from the top

Expand Down

0 comments on commit 71b19bd

Please sign in to comment.