[Docker] Review handling of volumes #403

Closed
opened 2021-03-13 00:16:46 +01:00 by nik · 12 comments
Owner

We should re-investigate if we really need to to collectstatic on container startup. It seems we should use a VOLUME declaration instead, and ensure it is done in the correct order (the VOLUME declaration needs to be made after all data has been written to the source directory).

Also, we should check that the VOLUME declaration for AlekSIS' data honours the environment variables set media and backups (or probably declare two volumes for media and backups, even).

We should re-investigate if we really need to to `collectstatic` on container startup. It seems we should use a `VOLUME` declaration instead, and ensure it is done in the correct order (the `VOLUME` declaration needs to be made **after** all data has been written to the source directory). Also, we should check that the `VOLUME` declaration for AlekSIS' data honours the environment variables set media and backups (or probably declare two volumes for media and backups, even).
Author
Owner

created merge request !2188 to address this issue

created merge request !2188 to address this issue
Author
Owner

mentioned in merge request !2188

mentioned in merge request !2188
Author
Owner

mentioned in commit 280434aa56

mentioned in commit 280434aa566fcbc5f2f82e2295dd2c739fcbb393
Author
Owner

mentioned in commit 74eb629e98

mentioned in commit 74eb629e982fb0311d1348a0dc572eea14961ee7
Author
Owner

mentioned in merge request !2189

mentioned in merge request !2189
Author
Owner

mentioned in commit b7156de723bf1d897220e090f907eb03347d4d9d

mentioned in commit b7156de723bf1d897220e090f907eb03347d4d9d
Author
Owner

mentioned in commit 8194a7d0b9

mentioned in commit 8194a7d0b9de50dd6b8a3148a7aac52e7997177c
Author
Owner

mentioned in commit bdcb103695

mentioned in commit bdcb1036953f6c56e305bc3b123f9c3fa21e3bf3
Author
Owner

mentioned in commit 1f2833ac5f

mentioned in commit 1f2833ac5f368e2ef0df2a6b919b1d19f45ecc3a
Author
Owner

mentioned in commit 0d5c0fbd4e

mentioned in commit 0d5c0fbd4e66fef4ba69c6da493e113217c307cf
Author
Owner

mentioned in commit 86a9b0e837

mentioned in commit 86a9b0e83707133644acbac22873ca0f73ce9366
Owner

mentioned in commit 628e5e2644

mentioned in commit 628e5e26446e8c04f13340f364465e7e90cdcab6
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#403
No description provided.