use docker volume for data
This commit is contained in:
@@ -10,7 +10,7 @@ services:
|
|||||||
- /data/smb/adult/Games:/games/private:ro
|
- /data/smb/adult/Games:/games/private:ro
|
||||||
- /data/smb/media/Games/Computer:/games/public:ro
|
- /data/smb/media/Games/Computer:/games/public:ro
|
||||||
# Persistent SQLite database
|
# Persistent SQLite database
|
||||||
- ./data:/data
|
- game-grid-data:/data
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
GAMES_PATH: /games
|
GAMES_PATH: /games
|
||||||
@@ -24,3 +24,5 @@ services:
|
|||||||
# Set to "true" only when the app sits behind an HTTPS reverse proxy
|
# Set to "true" only when the app sits behind an HTTPS reverse proxy
|
||||||
SECURE_COOKIES: "false"
|
SECURE_COOKIES: "false"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
game-grid-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user