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
|
container_name: oci-registry
|
||||||
image: registry:2
|
image: registry:2
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/oci-registry:/var/lib/registry
|
- oci:/var/lib/registry
|
||||||
- ./htpasswd:/auth/htpasswd
|
- ./htpasswd:/auth/htpasswd
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
|
@ -93,3 +93,8 @@ networks:
|
||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
intern:
|
intern:
|
||||||
|
|
||||||
|
|
||||||
|
######## Volumes ########
|
||||||
|
volumes:
|
||||||
|
oci:
|
||||||
|
|
|
@ -12,17 +12,6 @@
|
||||||
filesystem: xfs
|
filesystem: xfs
|
||||||
mount: true
|
mount: true
|
||||||
mntp: /var/lib/docker
|
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
|
manage_lvm: true
|
||||||
pvresize_to_max: true
|
pvresize_to_max: true
|
||||||
### mgrote.restic
|
### mgrote.restic
|
||||||
|
|
Loading…
Reference in a new issue