Skip to content

Commit cfca616

Browse files
fix(post): Added a section for updating TrueNAS app icons
1 parent 5bb1b9b commit cfca616

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

_posts/2025-07-11-truenas-docker-pro.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,66 @@ With this setup:
295295
- You can access it securely via Traefik + HTTPS
296296
- Everything is defined in Compose.
297297

298+
## Bonus: Fix Custom Icons to TrueNAS Custom Apps
299+
300+
By default, when you deploy a custom app on TrueNAS using your own Docker Compose, the app will likely show up with a missing or blank icon in the Apps UI.
301+
302+
Fortunately, you can fix that by editing the app’s metadata file.
303+
304+
---
305+
306+
### Update the App Metadata
307+
308+
Edit the following file on your TrueNAS system:
309+
310+
```
311+
/mnt/.ix-apps/app_configs/YOUR_APP_NAME/metadata.yaml
312+
```
313+
314+
Add the `icon:` property inside the `metadata:` block. For example:
315+
316+
```yaml
317+
custom_app: true
318+
human_version: 1.0.0_custom
319+
metadata:
320+
app_version: custom
321+
capabilities: []
322+
description: This is a custom app where user can use his/her own docker compose
323+
file for deploying services
324+
home: ''
325+
host_mounts: []
326+
maintainers: []
327+
name: custom-app
328+
run_as_context: []
329+
sources: []
330+
title: Custom App
331+
train: stable
332+
version: 1.0.0
333+
icon: https://media.sys.truenas.net/apps/homepage/icons/icon.png
334+
migrated: false
335+
notes: null
336+
portals: {}
337+
version: 1.0.0
338+
```
339+
340+
> *Note: You will need to redeploy the app and refresh the UI for the icon to show up.*
341+
{: .prompt-info }
342+
343+
---
344+
345+
### Mount App Configs in Code Server
346+
347+
If you’re using Code Server like I am, you can easily edit app configs like this by mounting the app config directory into your container:
348+
349+
```yaml
350+
volumes:
351+
- /mnt/.ix-apps/app_configs/:/ix-apps
352+
```
353+
354+
This makes `/ix-apps` accessible from inside Code Server, so you can quickly edit metadata, YAML, or other settings.
355+
356+
---
357+
298358
## Join the conversation
299359

300360
<blockquote class="twitter-tweet" data-dnt="true" data-theme="dark"><p lang="en" dir="ltr">&quot;Keep your data close… but your apps closer.&quot;<br>My new setup runs Docker apps on TrueNAS the clean way — using Compose, .env, and no hacks.<a href="https://t.co/RQ90braua3">https://t.co/RQ90braua3</a> <a href="https://t.co/NNvDO0zn0O">pic.twitter.com/NNvDO0zn0O</a></p>&mdash; Techno Tim (@TechnoTimLive) <a href="https://twitter.com/TechnoTimLive/status/1945145367072309294?ref_src=twsrc%5Etfw">July 15, 2025</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

0 commit comments

Comments
 (0)