oci-registry: remove bind-mount (#536)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: #536
This commit is contained in:
parent
aae4436f46
commit
ca8c98f45d
2 changed files with 6 additions and 12 deletions
|
@ -5,7 +5,7 @@ services:
|
|||
container_name: oci-registry
|
||||
image: registry:2
|
||||
volumes:
|
||||
- /mnt/oci-registry:/var/lib/registry
|
||||
- oci:/var/lib/registry
|
||||
- ./htpasswd:/auth/htpasswd
|
||||
networks:
|
||||
- traefik
|
||||
|
@ -93,3 +93,8 @@ networks:
|
|||
traefik:
|
||||
external: true
|
||||
intern:
|
||||
|
||||
|
||||
######## Volumes ########
|
||||
volumes:
|
||||
oci:
|
||||
|
|
|
@ -12,17 +12,6 @@
|
|||
filesystem: xfs
|
||||
mount: true
|
||||
mntp: /var/lib/docker
|
||||
- vgname: vg_docker_volumes
|
||||
disks:
|
||||
- /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi2
|
||||
create: true
|
||||
lvnames:
|
||||
- lvname: ociregistry
|
||||
size: 10G
|
||||
create: true
|
||||
filesystem: xfs
|
||||
mount: true
|
||||
mntp: /mnt/oci-registry
|
||||
manage_lvm: true
|
||||
pvresize_to_max: true
|
||||
### mgrote.restic
|
||||
|
|
Loading…
Reference in a new issue