From 1bafb844f26260642f9555e338433b9bd016d35d Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Fri, 25 Aug 2023 22:35:12 +1000 Subject: [PATCH] worker: Set the default storage size to 5gb --- worker/wp.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/worker/wp.sh b/worker/wp.sh index dc43ae3..daca48e 100644 --- a/worker/wp.sh +++ b/worker/wp.sh @@ -56,9 +56,16 @@ services: WORDPRESS_DB_PASSWORD: $MYSQL_PASSWORD WORDPRESS_DB_NAME: WordPressDatabase volumes: - [\"./:/var/www/html\"] + - data:/var/www/html + volumes: - mysql: {} + mysql: + data: + driver: local + driver_opts: + o: "size=5g,uid=1000" + device: tmpfs + type: tmpfs """ > docker-compose.yml # Start the containers