From 4ca9536b051460ca0d8f600924737e9f4547c8e8 Mon Sep 17 00:00:00 2001 From: Garret Patti Date: Sun, 17 May 2026 16:37:52 -0400 Subject: [PATCH] use docker volume for data --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index aef3336..b2c6c0c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: - /data/smb/adult/Games:/games/private:ro - /data/smb/media/Games/Computer:/games/public:ro # Persistent SQLite database - - ./data:/data + - game-grid-data:/data environment: NODE_ENV: production GAMES_PATH: /games @@ -24,3 +24,5 @@ services: # Set to "true" only when the app sits behind an HTTPS reverse proxy SECURE_COOKIES: "false" restart: unless-stopped +volumes: + game-grid-data: