17 lines
452 B
YAML
17 lines
452 B
YAML
---
|
|
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}:/var/lib/registry
|
|
ports:
|
|
- ${port_http:-5000}:5000
|
|
restart: ${restart:-always}
|
|
labels:
|
|
- com.centurylinklabs.watchtower.enable=${WATCHTOWER_AUTO_UPDATE:-true} |