diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fb58dee --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.env +data diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..47ad276 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +--- +services: + registry: + image: registry:${REGISTRY_VERSION} + restart: unless-stopped + ports: + - ${REGISTRY_PORT}:5000 + volumes: + - ${REGISTRY_DATA}:/var/lib/registry diff --git a/example.env b/example.env new file mode 100644 index 0000000..ceac61f --- /dev/null +++ b/example.env @@ -0,0 +1,4 @@ +# Docker Registry +REGISTRY_VERSION=2.8.2 +REGISTRY_PORT=5000 +REGISTRY_DATA=./data