mount frontend as a shared volume #2 #7

Open
fauno wants to merge 3 commits from issue-2 into main
Owner

by mounting the api first with the frontend-data as a shared volume, docker will copy the contents of the frontend to the shared volume.

this is a wip because i tested it quickly and seemed to work, but traefik was down for some reason and i ran out of time today!

by mounting the api first with the frontend-data as a shared volume, docker will copy the contents of the frontend to the shared volume. this is a wip because i tested it quickly and seemed to work, but traefik was down for some reason and i ran out of time today!
fauno added 1 commit 2025-01-13 21:12:16 +00:00
Owner

Oh interesting but I'm not sure you can rely on the ordering of the services in the compose file? I could be wrong. That's a cool trick if it works! It may be possible to use some sort of "depends on" config for this also? Unsure.

Oh interesting but I'm not sure you can rely on the ordering of the services in the compose file? I could be wrong. That's a cool trick if it works! It may be possible to use some sort of "depends on" config for this also? Unsure.
Author
Owner

Ah, dependency may work. I'll try it. For what I've seen so far the files were copied, even if the abra output showed a seemingly random order:

INFO creating funkwhale_coopcloud_sutty_local_celerybeat                                                                                
INFO creating funkwhale_coopcloud_sutty_local_db                                                                                        
INFO creating funkwhale_coopcloud_sutty_local_cache                                                                                     
INFO creating funkwhale_coopcloud_sutty_local_api                                                                                       
INFO creating funkwhale_coopcloud_sutty_local_app                                                                                       
INFO creating funkwhale_coopcloud_sutty_local_celeryworker                                                                              
Ah, dependency may work. I'll try it. For what I've seen so far the files were copied, even if the abra output showed a seemingly random order: ``` INFO creating funkwhale_coopcloud_sutty_local_celerybeat INFO creating funkwhale_coopcloud_sutty_local_db INFO creating funkwhale_coopcloud_sutty_local_cache INFO creating funkwhale_coopcloud_sutty_local_api INFO creating funkwhale_coopcloud_sutty_local_app INFO creating funkwhale_coopcloud_sutty_local_celeryworker ```
fauno force-pushed issue-2 from 25d82584b4 to a97746b191 2025-02-06 20:56:05 +00:00 Compare
fauno changed title from WIP: mount frontend as a shared volume #2 to mount frontend as a shared volume #2 2025-02-06 20:56:28 +00:00
Author
Owner

This works!

This works!
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin issue-2:issue-2
git checkout issue-2
Sign in to join this conversation.
No description provided.