diff --git a/docker-compose/registry/docker-compose.yml.j2 b/docker-compose/registry/docker-compose.yml.j2 index 26b99fb0..c25eb12a 100644 --- a/docker-compose/registry/docker-compose.yml.j2 +++ b/docker-compose/registry/docker-compose.yml.j2 @@ -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: diff --git a/host_vars/docker10.grote.lan.yml b/host_vars/docker10.grote.lan.yml index 82794c9c..b5bea4ed 100644 --- a/host_vars/docker10.grote.lan.yml +++ b/host_vars/docker10.grote.lan.yml @@ -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