Add 'docker_portainer_stacks/registry.yml'

This commit is contained in:
sthope 2021-09-15 19:04:37 +02:00
parent 6801217980
commit ce4dc744ae

View File

@ -0,0 +1,17 @@
---
version: "3.8"
services:
docker-hub:
image: registry:${tag:-2}
container_name: docker-hub
environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- TZ=${TZ:-Europe/Amsterdam}
volumes:
- ${volume_docker_hub:-/docker/registry}:/config
ports:
- ${port_http:-5000}:5000
restart: ${restart:-always}
labels:
- com.centurylinklabs.watchtower.enable=${WATCHTOWER_AUTO_UPDATE:-true}