Change storage location of Package-Registry items #9636

Closed
opened 2025-11-02 08:45:05 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @arcastro on GitHub (Sep 29, 2022).

Feature Description

Seems package registry currently stores items in /data/gitea/packages (is this the correct location?)

Would be great if this location could be configured to a custom one.
This would allow storing package data in mounted filesystems.

Screenshots

No response

Originally created by @arcastro on GitHub (Sep 29, 2022). ### Feature Description Seems package registry currently stores items in `/data/gitea/packages` (is this the correct location?) Would be great if this location could be configured to a custom one. This would allow storing package data in mounted filesystems. ### Screenshots _No response_
GiteaMirror added the type/proposaltype/feature labels 2025-11-02 08:45:05 -06:00
Author
Owner

@techknowlogick commented on GitHub (Sep 29, 2022):

This is configurable, please see the storage section of config documentation.

@techknowlogick commented on GitHub (Sep 29, 2022): This is configurable, please see the storage section of config documentation.
Author
Owner

@arcastro commented on GitHub (Oct 9, 2022):

Thank you @techknowlogick , are you referring to this document?

Seems it allows configuration of [lfs] and [attachment] individually, but the [packages] configuration does not allow specifying location of uploaded packages (for things like docker image registry, or nuget package registry, etc).

Please let me know if I misinterpreted anything. If I understood things correctly, could this issue be re-opened?


EDIT: The config I was looking for is [storage.packages], example can be found here.

Thank you :)

@arcastro commented on GitHub (Oct 9, 2022): Thank you @techknowlogick , are you referring to this document? - https://docs.gitea.io/en-us/config-cheat-sheet/#storage-storage <s>Seems it allows configuration of [lfs] and [attachment] individually, but the [packages] configuration does not allow specifying location of uploaded packages (for things like docker image registry, or nuget package registry, etc). Please let me know if I misinterpreted anything. If I understood things correctly, could this issue be re-opened?</s> ---- EDIT: The config I was looking for is `[storage.packages]`, example can be found here. - https://fossies.org/linux/gitea/custom/conf/app.example.ini Thank you :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9636