Skip to content

Commit 574f812

Browse files
DissBeeAlfagun74
authored andcommitted
Update truenas-scale.md
Added additional detail + example for storage configuration
1 parent 03922c5 commit 574f812

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

docs/server-docs/setup/truenas-scale.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,15 @@ GameVault expects three directories:
8585
- a database for GameVault to store its media - mounted to the /media directory internally
8686

8787
These directories will need to be created before you can deploy GameVault on your TrueNAS Scale server.
88-
If you have not yet done so, create the needed directories before continuing, and ensure your chosen user has read/write access to all three of the directories.
88+
If you have not yet done so, create the needed directories before continuing, and ensure your chosen user has read/write access to all three of the directories.
89+
90+
For this example, the following directories have been made on TrueNAS Scale, and the "apps" user has read/write access:
91+
92+
- Games directory: /Tank1/Games
93+
- database directory: /Tank1/GameVault/database
94+
- media directory: /Tank1/GameVault/media
95+
96+
After these directories have been created, and you have ensured that your chosen TrueNAS user has read/write access to all three directories, you will need to update the docker-compose.yml file to specify these directories.
8997

9098
An example of the finished config is available below under "Step 2a"
9199

@@ -116,9 +124,9 @@ services:
116124
DB_PASSWORD: YOURPASSWORDHERE #This is not your admin user's password - this is the database password
117125
volumes:
118126
# Mount the folder where your games are
119-
- /mnt/yourgames:/files
127+
- /Tank1/Games:/files
120128
# Mount the folder where GameVault should store its media
121-
- /mnt/GameVault/media:/media
129+
- /Tank1/GameVault/media:/media
122130
ports:
123131
- 8080:8080/tcp
124132
db:
@@ -130,7 +138,7 @@ services:
130138
POSTGRES_DB: gamevault
131139
volumes:
132140
# Mount the folder where your PostgreSQL database files should land
133-
- /mnt/GameVault/database:/var/lib/postgresql/data
141+
- /Tank1/GameVault/database:/var/lib/postgresql/data
134142
```
135143
136144
You should change the `DB_PASSWORD` and `POSTGRES_PASSWORD` variables to be an actual password instead of "YOURPASSWORDHERE".

0 commit comments

Comments
 (0)