Move repo archive to "files" subvolume
It's better suited for this kind of file storage
This commit is contained in:
parent
0780d255ed
commit
ad3b5bc42d
2 changed files with 4 additions and 0 deletions
ansible/roles/gitea/files
|
@ -134,3 +134,6 @@ MINIO_BUCKET = 0rng-gitea
|
||||||
MINIO_LOCATION = eu-central-003
|
MINIO_LOCATION = eu-central-003
|
||||||
SERVE_DIRECT = true
|
SERVE_DIRECT = true
|
||||||
MINIO_USE_SSL = true
|
MINIO_USE_SSL = true
|
||||||
|
|
||||||
|
[storage.repo-archive]
|
||||||
|
PATH = /mnt/repo-archive
|
||||||
|
|
|
@ -13,6 +13,7 @@ services:
|
||||||
- "{{ app_data_dir }}/gitea/config:/etc/gitea"
|
- "{{ app_data_dir }}/gitea/config:/etc/gitea"
|
||||||
- /mnt/tank/files/gitea-repositories/repositories:/mnt/repositories
|
- /mnt/tank/files/gitea-repositories/repositories:/mnt/repositories
|
||||||
- /mnt/tank/files/gitea-repositories/lfs:/mnt/lfs
|
- /mnt/tank/files/gitea-repositories/lfs:/mnt/lfs
|
||||||
|
- /mnt/tank/files/gitea-repositories/archive:/mnt/repo-archive
|
||||||
tmpfs:
|
tmpfs:
|
||||||
- /var/lib/gitea/tmp
|
- /var/lib/gitea/tmp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Add table
Reference in a new issue