Add 'docker_portainer_stacks/registry.yml'
This commit is contained in:
parent
6801217980
commit
ce4dc744ae
17
docker_portainer_stacks/registry.yml
Normal file
17
docker_portainer_stacks/registry.yml
Normal 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}
|
Loading…
x
Reference in New Issue
Block a user