3 months ago
i have a project where a service has multiple volumes but while creating a template i'm not able to attach more than one volume
volumes:
- "./addons:/addons"
- "./storage:/storage"
- "/etc/localtime:/etc/localtime:ro"
0 Replies
3 months ago
you can only attach a single volume to a single service
and how do i configure if there are 2 paths (subfolders) but a single volume
volumes:
- ./config:/app/config
- ./assets:/app/assets
3 months ago
mount volume to /app/data
and have the app store the files into /app/data/config
and /app/data/assets
so if I set a volume to /app/data
how would the sub-folders will create
didn't get you about /app/data/config
and /app/data/assets
3 months ago
The volume is a folder mounted at /app/data. Any subfolders are also contained within that volume
3 months ago
You can create those folders using a filebrowser template, or have your program create them on startup if they don’t already exist
so you mean i can also have 2 services in one template, one for my app and one for filebrowser which i can use for creating subfolders
3 months ago
If you're creating a template, you shouldn't need filebrowser. Your app should automatically create the subfolders it needs
3 months ago
!s
Status changed to Solved adam • 3 months ago